Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.001481/0.001481, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.0022/0.0022, allocations: 215.5 kB / 22.99 MB, free: 4.605 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.701/1.701, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2631/0.2631, allocations: 44.26 MB / 330.3 MB, free: 9.309 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") [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.003378/0.003378, allocations: 80.98 kB / 468.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1666, allocations: 61.03 MB / 0.5167 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.005034/0.1716, allocations: 1.887 MB / 0.5185 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.1737, allocations: 0.8079 MB / 0.5193 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.1739, allocations: 3.938 kB / 0.5193 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004982/0.1744, allocations: 39.72 kB / 0.5194 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.1749, allocations: 59.69 kB / 0.5194 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.1754, allocations: 111.7 kB / 0.5195 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000385/0.1757, allocations: 143.5 kB / 0.5197 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.1759, allocations: 25.66 kB / 0.5197 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.1761, allocations: 55.72 kB / 0.5197 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.1763, allocations: 47.77 kB / 0.5198 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.1763, allocations: 8 kB / 0.5198 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.1765, allocations: 43.98 kB / 0.5198 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.736e-05/0.1766, allocations: 31.8 kB / 0.5199 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.1767, allocations: 43.72 kB / 0.5199 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.1771, allocations: 143.4 kB / 0.52 GB, free: 3.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1771, allocations: 4 kB / 0.52 GB, free: 3.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1771, allocations: 0 / 0.52 GB, free: 3.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.1771, allocations: 0 / 0.52 GB, free: 3.156 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.0009233/0.178, allocations: 415 kB / 0.5204 GB, free: 2.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.1781, allocations: 8.031 kB / 0.5205 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.358e-05/0.1782, allocations: 16.84 kB / 0.5205 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.1786, allocations: 163.3 kB / 0.5206 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.1786, allocations: 4.375 kB / 0.5206 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.1787, allocations: 20.08 kB / 0.5206 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.179, allocations: 137.9 kB / 0.5208 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.179, allocations: 0 / 0.5208 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.179, allocations: 0 / 0.5208 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.179, allocations: 0 / 0.5208 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.1792, allocations: 51.95 kB / 0.5208 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007468/0.1799, allocations: 452.7 kB / 0.5213 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.1803, allocations: 90.59 kB / 0.5213 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1804, allocations: 36.83 kB / 0.5214 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1804, allocations: 0 / 0.5214 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.1807, allocations: 113.1 kB / 0.5215 GB, free: 1.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.823e-06/0.1807, allocations: 0 / 0.5215 GB, free: 1.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004831/0.1812, allocations: 145.5 kB / 0.5216 GB, free: 1.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.1813, allocations: 55.41 kB / 0.5217 GB, free: 1.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.1815, allocations: 195.5 kB / 0.5219 GB, free: 1.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.1816, allocations: 33.7 kB / 0.5219 GB, free: 1.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1817, allocations: 112.1 kB / 0.522 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.1817, allocations: 27.75 kB / 0.522 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/0.1818, allocations: 37.64 kB / 0.5221 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.182, allocations: 326.8 kB / 0.5224 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1821, allocations: 27.98 kB / 0.5224 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1822, allocations: 60.27 kB / 0.5225 GB, free: 472 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.1824, allocations: 108.5 kB / 0.5226 GB, free: 348 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1824, allocations: 0 / 0.5226 GB, free: 348 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003551/0.1828, allocations: 141.4 kB / 0.5227 GB, free: 200 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.1828, allocations: 4 kB / 0.5227 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1828, allocations: 4 kB / 0.5227 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.878e-05/0.1829, allocations: 12.06 kB / 0.5227 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.183, allocations: 23.92 kB / 0.5227 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.183, allocations: 7.938 kB / 0.5228 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.498e-05/0.1831, allocations: 11.89 kB / 0.5228 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.1831, allocations: 11.97 kB / 0.5228 GB, free: 124 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.0001667/0.1833, allocations: 125.8 kB / 0.5229 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.1833, allocations: 11.91 kB / 0.5229 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.1836, allocations: 135 kB / 0.523 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1836, allocations: 4 kB / 0.523 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1836, allocations: 3.938 kB / 0.523 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1837, allocations: 3.984 kB / 0.523 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.1838, allocations: 149.2 kB / 0.5232 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.1838, allocations: 0 / 0.5232 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.222e-05/0.1839, allocations: 15.98 kB / 0.5232 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1839, allocations: 0 / 0.5232 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1839, allocations: 0 / 0.5232 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1839, allocations: 4 kB / 0.5232 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1839, allocations: 0 / 0.5232 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/0.1844, allocations: 205 kB / 0.5234 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.1844, allocations: 16.03 kB / 0.5234 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1844, allocations: 0 / 0.5234 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.521e-05/0.1845, allocations: 7.984 kB / 0.5234 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.1846, allocations: 11.98 kB / 0.5234 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1846, allocations: 7.938 kB / 0.5234 GB, free: 15.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.1847, allocations: 145.1 kB / 0.5236 GB, free: 15.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1847, allocations: 0 / 0.5236 GB, free: 15.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.185, allocations: 27.94 kB / 0.5236 GB, free: 15.2 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.001736/0.1867, allocations: 444.9 kB / 0.524 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003046/0.187, allocations: 87.83 kB / 0.5241 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.187, allocations: 0 / 0.5241 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.1872, allocations: 35.91 kB / 0.5242 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1875, allocations: 40.92 kB / 0.5242 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006548/0.1882, allocations: 264.3 kB / 0.5244 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.1883, allocations: 114.6 kB / 0.5246 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.817e-05/0.1883, allocations: 17.08 kB / 0.5246 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.1884, allocations: 15.44 kB / 0.5246 GB, free: 14.2 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1884, allocations: 0 / 0.5246 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Templates: time 0.006717/0.1951, allocations: 2.123 MB / 0.5267 GB, free: 12.1 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.777199754491448]