Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 100.4 kB / 19.7 MB, free: 2.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003156/0.003156, allocations: 208.3 kB / 22.98 MB, free: 4.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 207.7 MB / 233.8 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2671/0.2671, allocations: 44.27 MB / 330.3 MB, free: 9.289 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002446/0.002446, allocations: 74.72 kB / 468.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1406, allocations: 61.04 MB / 0.5167 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003566/0.1442, allocations: 1.684 MB / 0.5183 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.1459, allocations: 0.7728 MB / 0.5191 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.487e-05/0.1459, allocations: 3.938 kB / 0.5191 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003502/0.1463, allocations: 51.81 kB / 0.5191 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.1466, allocations: 63.69 kB / 0.5192 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.1469, allocations: 91.75 kB / 0.5193 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.1471, allocations: 91.7 kB / 0.5194 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1472, allocations: 8.219 kB / 0.5194 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.967e-05/0.1473, allocations: 47.77 kB / 0.5194 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.128e-05/0.1474, allocations: 31.86 kB / 0.5195 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.1474, allocations: 4 kB / 0.5195 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1475, allocations: 47.92 kB / 0.5195 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.488e-05/0.1476, allocations: 27.91 kB / 0.5195 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.1476, allocations: 27.75 kB / 0.5196 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.1479, allocations: 123.4 kB / 0.5197 GB, free: 3.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1479, allocations: 0 / 0.5197 GB, free: 3.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1479, allocations: 0 / 0.5197 GB, free: 3.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1479, allocations: 0 / 0.5197 GB, free: 3.52 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006329/0.1485, allocations: 349.6 kB / 0.52 GB, free: 3.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1486, allocations: 8.031 kB / 0.52 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.1486, allocations: 20.84 kB / 0.52 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.1489, allocations: 158.2 kB / 0.5202 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1489, allocations: 4.375 kB / 0.5202 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.149, allocations: 4.125 kB / 0.5202 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.1491, allocations: 57.67 kB / 0.5203 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1491, allocations: 0 / 0.5203 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1492, allocations: 0 / 0.5203 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1492, allocations: 3.938 kB / 0.5203 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.1493, allocations: 27.97 kB / 0.5203 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.1497, allocations: 236.5 kB / 0.5205 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1499, allocations: 54.69 kB / 0.5206 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.1499, allocations: 20.84 kB / 0.5206 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.1499, allocations: 0 / 0.5206 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.1501, allocations: 67.39 kB / 0.5207 GB, free: 2.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1501, allocations: 3.938 kB / 0.5207 GB, free: 2.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006266/0.1507, allocations: 181.7 kB / 0.5208 GB, free: 2.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.1508, allocations: 59.39 kB / 0.5209 GB, free: 2.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.151, allocations: 234.6 kB / 0.5211 GB, free: 1.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.151, allocations: 33.7 kB / 0.5211 GB, free: 1.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.795e-05/0.1511, allocations: 104.1 kB / 0.5212 GB, free: 1.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.1512, allocations: 23.84 kB / 0.5213 GB, free: 1.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.1512, allocations: 21.72 kB / 0.5213 GB, free: 1.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1514, allocations: 334.8 kB / 0.5216 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6e-05/0.1514, allocations: 16.06 kB / 0.5216 GB, free: 1.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.637e-05/0.1515, allocations: 41.7 kB / 0.5217 GB, free: 1.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1517, allocations: 65.77 kB / 0.5217 GB, free: 1.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1517, allocations: 3.938 kB / 0.5217 GB, free: 1.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002081/0.1519, allocations: 109.6 kB / 0.5218 GB, free: 1.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1519, allocations: 4 kB / 0.5218 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1519, allocations: 192 / 0.5218 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1519, allocations: 0 / 0.5218 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.152, allocations: 27.86 kB / 0.5219 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.152, allocations: 0 / 0.5219 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.1521, allocations: 0 / 0.5219 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1521, allocations: 4 kB / 0.5219 GB, free: 1.094 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0001317/0.1522, allocations: 133.8 kB / 0.522 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1522, allocations: 15.98 kB / 0.522 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.1525, allocations: 123 kB / 0.5221 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1525, allocations: 4 kB / 0.5221 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1525, allocations: 0 / 0.5221 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1525, allocations: 0 / 0.5221 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.153, allocations: 354.9 kB / 0.5225 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.153, allocations: 0 / 0.5225 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.153, allocations: 11.94 kB / 0.5225 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.153, allocations: 3.984 kB / 0.5225 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1531, allocations: 8.031 kB / 0.5225 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1531, allocations: 0 / 0.5225 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1531, allocations: 3.938 kB / 0.5225 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.1533, allocations: 212.2 kB / 0.5227 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.1534, allocations: 15.89 kB / 0.5227 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1534, allocations: 7.984 kB / 0.5227 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.886e-05/0.1535, allocations: 0 / 0.5227 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.1535, allocations: 15.86 kB / 0.5227 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.1535, allocations: 11.98 kB / 0.5227 GB, free: 116 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.1537, allocations: 172.3 kB / 0.5229 GB, free: 15.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1537, allocations: 4 kB / 0.5229 GB, free: 15.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.154, allocations: 23.98 kB / 0.5229 GB, free: 15.92 MB / 414.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: 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 (9): * Single equations (assignments): 7 * 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.001891/0.1558, allocations: 492.8 kB / 0.5234 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.1561, allocations: 71.84 kB / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1561, allocations: 0 / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.107e-05/0.1561, allocations: 32.06 kB / 0.5235 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1565, allocations: 31.12 kB / 0.5235 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/0.1571, allocations: 275.1 kB / 0.5238 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.1572, allocations: 92.73 kB / 0.5239 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.175e-05/0.1572, allocations: 16.61 kB / 0.5239 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.1573, allocations: 19.44 kB / 0.5239 GB, free: 14.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1573, allocations: 0 / 0.5239 GB, free: 14.91 MB / 414.1 MB Notification: Performance of Templates: time 0.005455/0.1627, allocations: 1.884 MB / 0.5258 GB, free: 13.04 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.696137931197882]