Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001549/0.00155, allocations: 103.8 kB / 17.63 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001858/0.001858, allocations: 206.4 kB / 18.58 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2215/0.2215, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 78.25 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1178, allocations: 62.45 MB / 480 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003664/0.1215, allocations: 1.766 MB / 481.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1232, allocations: 1.04 MB / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.355e-05/0.1233, allocations: 0 / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.1237, allocations: 99.67 kB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.1241, allocations: 127.5 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.1243, allocations: 87.59 kB / 483.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.1246, allocations: 135.7 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1247, allocations: 25.33 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.1248, allocations: 63.77 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1249, allocations: 67.75 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.125, allocations: 7.938 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1251, allocations: 63.95 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.655e-05/0.1252, allocations: 31.92 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.358e-05/0.1253, allocations: 51.61 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.1255, allocations: 155.8 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1255, allocations: 0 / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1255, allocations: 0 / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1255, allocations: 0 / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006156/0.1261, allocations: 466.6 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1262, allocations: 8.031 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.1263, allocations: 16.75 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1265, allocations: 236.9 kB / 484.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1266, allocations: 384 / 484.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.1266, allocations: 8.125 kB / 484.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1268, allocations: 77.59 kB / 484.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1268, allocations: 0 / 484.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1268, allocations: 4 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1268, allocations: 0 / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1269, allocations: 43.84 kB / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.1274, allocations: 336.6 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.1276, allocations: 74.53 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.607e-05/0.1277, allocations: 28.84 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.1277, allocations: 0 / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.1279, allocations: 91.25 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1279, allocations: 0 / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008426/0.1288, allocations: 292.7 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.1288, allocations: 59.41 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.1291, allocations: 263.6 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1291, allocations: 29.7 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.1292, allocations: 112.1 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.1293, allocations: 43.45 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.1293, allocations: 33.7 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1295, allocations: 334.8 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.43e-05/0.1296, allocations: 35.98 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.58e-05/0.1297, allocations: 57.7 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.1299, allocations: 101.6 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1299, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002645/0.1301, allocations: 161.4 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1302, allocations: 4 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1302, allocations: 8 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1302, allocations: 7.875 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.1303, allocations: 24.83 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1303, allocations: 4.109 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.1304, allocations: 7.922 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1304, allocations: 8 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.1305, allocations: 141.8 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.1305, allocations: 15.81 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.699e-05/0.1306, allocations: 25.53 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1306, allocations: 7.922 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1306, allocations: 0 / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1306, allocations: 3.938 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.1312, allocations: 0.4998 MB / 487.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1312, allocations: 4 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.364e-05/0.1313, allocations: 23.92 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1313, allocations: 0 / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1313, allocations: 4 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1313, allocations: 0 / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1313, allocations: 0 / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.1316, allocations: 269 kB / 487.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.1317, allocations: 92.91 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.1317, allocations: 8 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.1318, allocations: 4 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1319, allocations: 15.92 kB / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1319, allocations: 4 kB / 487.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.132, allocations: 197.5 kB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1321, allocations: 4 kB / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.1323, allocations: 35.98 kB / 488 MB, free: 12.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.1335, allocations: 0.4975 MB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.1338, allocations: 118.3 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1338, allocations: 0 / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.972e-05/0.1339, allocations: 48.11 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1342, allocations: 36.19 kB / 488.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.1348, allocations: 340.6 kB / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.1351, allocations: 0.7201 MB / 489.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.845e-05/0.1352, allocations: 33.39 kB / 489.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.1352, allocations: 27.42 kB / 489.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1353, allocations: 0 / 489.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of Templates: time 0.005315/0.1406, allocations: 2.178 MB / 492 MB, free: 9.098 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches