Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.001489/0.001489, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001772/0.001772, allocations: 206.7 kB / 23.74 MB, free: 4.543 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.586/1.586, allocations: 207.7 MB / 234.6 MB, free: 9.785 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.2378/0.2378, allocations: 44.26 MB / 331.1 MB, free: 9.312 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") [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.002318/0.002318, allocations: 71.89 kB / 468.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1413, allocations: 61.04 MB / 0.5174 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.006327/0.1476, allocations: 1.816 MB / 0.5192 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.1503, allocations: 0.8625 MB / 0.52 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.1505, allocations: 4 kB / 0.52 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007129/0.1512, allocations: 223.4 kB / 0.5203 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000609/0.1518, allocations: 167.4 kB / 0.5204 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006752/0.1525, allocations: 159.6 kB / 0.5206 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005436/0.153, allocations: 231.3 kB / 0.5208 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.1532, allocations: 17.72 kB / 0.5208 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.1535, allocations: 111.6 kB / 0.5209 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003934/0.1539, allocations: 163.5 kB / 0.5211 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.932e-05/0.1539, allocations: 8 kB / 0.5211 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.1541, allocations: 43.98 kB / 0.5211 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.1543, allocations: 63.77 kB / 0.5212 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.1544, allocations: 59.48 kB / 0.5212 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000508/0.1549, allocations: 218.9 kB / 0.5214 GB, free: 2.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.1549, allocations: 8 kB / 0.5215 GB, free: 2.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1549, allocations: 0 / 0.5215 GB, free: 2.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1549, allocations: 0 / 0.5215 GB, free: 2.461 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001126/0.1561, allocations: 472.6 kB / 0.5219 GB, free: 1.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1561, allocations: 11.97 kB / 0.5219 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.1563, allocations: 36.73 kB / 0.522 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.1568, allocations: 206.5 kB / 0.5222 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/0.1569, allocations: 16.3 kB / 0.5222 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.1569, allocations: 8.125 kB / 0.5222 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.1572, allocations: 99.36 kB / 0.5223 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.1572, allocations: 0 / 0.5223 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.1573, allocations: 4 kB / 0.5223 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1573, allocations: 0 / 0.5223 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.1575, allocations: 51.89 kB / 0.5223 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007884/0.1583, allocations: 384.6 kB / 0.5227 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.1587, allocations: 121.3 kB / 0.5228 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.1588, allocations: 41.7 kB / 0.5228 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.1588, allocations: 0 / 0.5228 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003292/0.1592, allocations: 121 kB / 0.523 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.604e-06/0.1592, allocations: 0 / 0.523 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001392/0.1606, allocations: 385.1 kB / 0.5233 GB, free: 408 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/0.1607, allocations: 85.05 kB / 0.5234 GB, free: 304 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/0.1614, allocations: 440.5 kB / 0.5238 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/0.1615, allocations: 29.7 kB / 0.5239 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.1617, allocations: 160.3 kB / 0.524 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.1618, allocations: 47.64 kB / 0.5241 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.689e-05/0.1618, allocations: 33.7 kB / 0.5241 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.1621, allocations: 342.8 kB / 0.5244 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.1622, allocations: 43.97 kB / 0.5245 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.1624, allocations: 71.59 kB / 0.5245 GB, free: 15.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.1628, allocations: 131.5 kB / 0.5246 GB, free: 14.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1628, allocations: 0 / 0.5246 GB, free: 14.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005431/0.1633, allocations: 193.3 kB / 0.5248 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.1633, allocations: 8 kB / 0.5248 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1634, allocations: 0 / 0.5248 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.1634, allocations: 0 / 0.5248 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.1636, allocations: 31.98 kB / 0.5249 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1636, allocations: 0 / 0.5249 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.1637, allocations: 15.92 kB / 0.5249 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.1638, allocations: 8 kB / 0.5249 GB, free: 14.7 MB / 414.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002449/0.164, allocations: 173.7 kB / 0.5251 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.1641, allocations: 35.77 kB / 0.5251 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006542/0.1647, allocations: 220.2 kB / 0.5253 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1648, allocations: 4 kB / 0.5253 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1648, allocations: 0 / 0.5253 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.1648, allocations: 3.938 kB / 0.5253 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.166, allocations: 0.5693 MB / 0.5259 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.166, allocations: 4 kB / 0.5259 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.1661, allocations: 28.05 kB / 0.5259 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.1661, allocations: 7.938 kB / 0.5259 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1661, allocations: 0 / 0.5259 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/0.1661, allocations: 7.938 kB / 0.5259 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1661, allocations: 0 / 0.5259 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.1668, allocations: 388.2 kB / 0.5263 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.1669, allocations: 19.86 kB / 0.5263 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.1669, allocations: 7.938 kB / 0.5263 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.1671, allocations: 7.984 kB / 0.5263 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.762e-05/0.1672, allocations: 19.92 kB / 0.5263 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.1672, allocations: 19.92 kB / 0.5264 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005131/0.1678, allocations: 323 kB / 0.5267 GB, free: 12.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1678, allocations: 0 / 0.5267 GB, free: 12.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005789/0.1683, allocations: 43.92 kB / 0.5267 GB, free: 12.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.002565/0.1709, allocations: 496.5 kB / 0.5272 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004717/0.1714, allocations: 131.7 kB / 0.5273 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1714, allocations: 0 / 0.5273 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.1716, allocations: 55.92 kB / 0.5274 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008623/0.1725, allocations: 65.41 kB / 0.5274 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.174, allocations: 0.5355 MB / 0.5279 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1743, allocations: 152.8 kB / 0.5281 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.975e-05/0.1744, allocations: 35.36 kB / 0.5281 GB, free: 11.3 MB / 414.1 MB Notification: Performance of SimCode: time 1.183e-06/0.1744, allocations: 0 / 0.5281 GB, free: 11.3 MB / 414.1 MB Notification: Performance of Templates: time 0.009651/0.184, allocations: 3.392 MB / 0.5314 GB, free: 7.906 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 8.548950508236885]