Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 108.2 kB / 18.39 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 182.9 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 243 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2079/0.2079, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 73.11 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.112, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00283/0.1148, allocations: 1.792 MB / 472.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1163, allocations: 0.9588 MB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.876e-05/0.1164, allocations: 7.875 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004426/0.1169, allocations: 291.3 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.1172, allocations: 207.4 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.1176, allocations: 166.8 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.1178, allocations: 243.4 kB / 474.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.1179, allocations: 17.55 kB / 474.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.118, allocations: 123.6 kB / 474.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.1183, allocations: 187.9 kB / 474.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.1183, allocations: 8 kB / 474.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.671e-05/0.1184, allocations: 47.97 kB / 474.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.1185, allocations: 124.6 kB / 474.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.1186, allocations: 150.8 kB / 475 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.119, allocations: 354.7 kB / 475.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.119, allocations: 4 kB / 475.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.119, allocations: 0 / 475.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.119, allocations: 0 / 475.4 MB, free: 8.984 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008956/0.1199, allocations: 0.7075 MB / 476.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.12, allocations: 12.03 kB / 476.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.1201, allocations: 56.27 kB / 476.1 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.1206, allocations: 443.8 kB / 476.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1206, allocations: 384 / 476.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.1207, allocations: 12.12 kB / 476.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1208, allocations: 87.34 kB / 476.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1209, allocations: 0 / 476.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1209, allocations: 4 kB / 476.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1209, allocations: 4 kB / 476.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.121, allocations: 31.91 kB / 476.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.1213, allocations: 374.3 kB / 477.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.1216, allocations: 105.2 kB / 477.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/0.1217, allocations: 45.58 kB / 477.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.1217, allocations: 0 / 477.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.1219, allocations: 105.1 kB / 477.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1219, allocations: 0 / 477.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000441/0.1224, allocations: 204.8 kB / 477.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.1224, allocations: 77.11 kB / 477.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009866/0.1234, allocations: 1.007 MB / 478.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.1235, allocations: 25.7 kB / 478.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.1236, allocations: 244 kB / 478.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.1237, allocations: 19.72 kB / 478.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.1237, allocations: 29.7 kB / 478.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1239, allocations: 366.8 kB / 479.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.589e-05/0.124, allocations: 27.98 kB / 479.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.699e-05/0.1241, allocations: 51.42 kB / 479.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.1243, allocations: 95.84 kB / 479.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1243, allocations: 0 / 479.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002872/0.1246, allocations: 168.9 kB / 479.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1246, allocations: 11.98 kB / 479.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1246, allocations: 4.062 kB / 479.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1246, allocations: 0 / 479.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1248, allocations: 27.94 kB / 479.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1248, allocations: 3.984 kB / 479.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-05/0.1249, allocations: 7.938 kB / 479.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1249, allocations: 7.984 kB / 479.7 MB, free: 4.383 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002078/0.1251, allocations: 225.7 kB / 479.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.1252, allocations: 47.34 kB / 479.9 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.754e-05/0.1253, allocations: 59.78 kB / 480 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1253, allocations: 8 kB / 480 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1253, allocations: 0 / 480 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1253, allocations: 0 / 480 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.1256, allocations: 337.4 kB / 480.3 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1256, allocations: 4 kB / 480.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.1256, allocations: 11.92 kB / 480.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1257, allocations: 4 kB / 480.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1257, allocations: 0 / 480.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1257, allocations: 0 / 480.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1257, allocations: 0 / 480.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.126, allocations: 209.2 kB / 480.5 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.1262, allocations: 132.5 kB / 480.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.1262, allocations: 11.98 kB / 480.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.1263, allocations: 4.094 kB / 480.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.1264, allocations: 11.92 kB / 480.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.1264, allocations: 8 kB / 480.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007102/0.1271, allocations: 0.7487 MB / 481.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1271, allocations: 0 / 481.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1274, allocations: 44 kB / 481.5 MB, free: 2.438 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009105/0.1283, allocations: 415.2 kB / 481.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.1286, allocations: 79.84 kB / 482 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1286, allocations: 4 kB / 482 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1287, allocations: 36.11 kB / 482 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.1291, allocations: 81.66 kB / 482.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1303, allocations: 0.8508 MB / 483 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.1307, allocations: 0.8388 MB / 483.8 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.1308, allocations: 58.95 kB / 483.9 MB, free: 196 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.1309, allocations: 27.42 kB / 483.9 MB, free: 168 kB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1309, allocations: 0 / 483.9 MB, free: 168 kB / 350.1 MB Notification: Performance of Templates: time 0.007572/0.1384, allocations: 3.654 MB / 487.5 MB, free: 12.53 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches