Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.002193/0.002193, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.003227/0.003227, allocations: 223.2 kB / 23 MB, free: 4.969 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.77/1.77, allocations: 207.7 MB / 233.8 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.2548/0.2548, allocations: 44.26 MB / 330.3 MB, free: 9.305 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") [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.00322/0.00322, allocations: 78.55 kB / 468 MB, free: 3.805 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1443, allocations: 61.05 MB / 0.5167 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003947/0.1483, allocations: 1.88 MB / 0.5185 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.1499, allocations: 0.8001 MB / 0.5193 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1501, allocations: 3.938 kB / 0.5193 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.1505, allocations: 47.69 kB / 0.5194 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.1508, allocations: 63.7 kB / 0.5194 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1511, allocations: 103.7 kB / 0.5195 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.1514, allocations: 147.5 kB / 0.5197 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1515, allocations: 25.66 kB / 0.5197 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1517, allocations: 47.8 kB / 0.5197 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1518, allocations: 51.69 kB / 0.5198 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.1518, allocations: 8 kB / 0.5198 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.152, allocations: 43.98 kB / 0.5198 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.009e-05/0.1521, allocations: 31.86 kB / 0.5199 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.1521, allocations: 47.67 kB / 0.5199 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.1524, allocations: 143.4 kB / 0.52 GB, free: 3.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1524, allocations: 0 / 0.52 GB, free: 3.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1524, allocations: 0 / 0.52 GB, free: 3.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1525, allocations: 3.938 kB / 0.52 GB, free: 3.141 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007458/0.1532, allocations: 407.1 kB / 0.5204 GB, free: 2.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1532, allocations: 8.031 kB / 0.5204 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.1533, allocations: 24.77 kB / 0.5205 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.1536, allocations: 159.3 kB / 0.5206 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1536, allocations: 8.375 kB / 0.5206 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.1537, allocations: 24.05 kB / 0.5207 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.154, allocations: 137.9 kB / 0.5208 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.154, allocations: 0 / 0.5208 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.154, allocations: 0 / 0.5208 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.154, allocations: 0 / 0.5208 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.1543, allocations: 47.97 kB / 0.5208 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.1554, allocations: 444.7 kB / 0.5213 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.156, allocations: 98.58 kB / 0.5213 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.1562, allocations: 40.83 kB / 0.5214 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.1562, allocations: 0 / 0.5214 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.1564, allocations: 105.1 kB / 0.5215 GB, free: 1.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.1564, allocations: 0 / 0.5215 GB, free: 1.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003997/0.1568, allocations: 145.5 kB / 0.5216 GB, free: 1.371 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.1568, allocations: 63.41 kB / 0.5217 GB, free: 1.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.1571, allocations: 195.5 kB / 0.5219 GB, free: 1.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1571, allocations: 25.7 kB / 0.5219 GB, free: 1.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.1572, allocations: 116.1 kB / 0.522 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.1572, allocations: 31.73 kB / 0.522 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.1573, allocations: 29.72 kB / 0.5221 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1574, allocations: 322.8 kB / 0.5224 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.437e-05/0.1575, allocations: 35.91 kB / 0.5224 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.1576, allocations: 64.28 kB / 0.5225 GB, free: 452 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.1578, allocations: 108.5 kB / 0.5226 GB, free: 328 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1578, allocations: 0 / 0.5226 GB, free: 328 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002908/0.1581, allocations: 137.4 kB / 0.5227 GB, free: 184 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1581, allocations: 4 kB / 0.5227 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1581, allocations: 4.125 kB / 0.5227 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.1581, allocations: 7.984 kB / 0.5227 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1582, allocations: 19.94 kB / 0.5227 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.1583, allocations: 15.86 kB / 0.5228 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.983e-05/0.1583, allocations: 19.88 kB / 0.5228 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1584, allocations: 4 kB / 0.5228 GB, free: 108 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001328/0.1585, allocations: 121.8 kB / 0.5229 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.1585, allocations: 19.89 kB / 0.5229 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.1588, allocations: 139 kB / 0.523 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1588, allocations: 0 / 0.523 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1588, allocations: 3.938 kB / 0.523 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1588, allocations: 0 / 0.523 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.159, allocations: 149.3 kB / 0.5232 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.159, allocations: 0 / 0.5232 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.33e-05/0.1591, allocations: 15.94 kB / 0.5232 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1591, allocations: 0 / 0.5232 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1591, allocations: 3.984 kB / 0.5232 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.1591, allocations: 4 kB / 0.5232 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1591, allocations: 0 / 0.5232 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/0.1595, allocations: 201 kB / 0.5234 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.1596, allocations: 16.06 kB / 0.5234 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.1596, allocations: 4 kB / 0.5234 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.131e-05/0.1597, allocations: 4 kB / 0.5234 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.1597, allocations: 11.97 kB / 0.5234 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.1597, allocations: 11.92 kB / 0.5234 GB, free: 15.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.1599, allocations: 149.2 kB / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1599, allocations: 0 / 0.5236 GB, free: 15.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1601, allocations: 31.92 kB / 0.5236 GB, free: 15.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001707/0.1618, allocations: 436.9 kB / 0.524 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.1621, allocations: 87.83 kB / 0.5241 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1621, allocations: 0 / 0.5241 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.1622, allocations: 35.92 kB / 0.5242 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.1626, allocations: 36.92 kB / 0.5242 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006041/0.1632, allocations: 272.3 kB / 0.5245 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.1633, allocations: 102.6 kB / 0.5245 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.799e-05/0.1633, allocations: 21.08 kB / 0.5246 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.1634, allocations: 23.42 kB / 0.5246 GB, free: 14.18 MB / 414.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1634, allocations: 0 / 0.5246 GB, free: 14.18 MB / 414.1 MB Notification: Performance of Templates: time 0.006209/0.1696, allocations: 2.131 MB / 0.5267 GB, free: 12.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.8788345493376255]