Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.001666/0.001666, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001597/0.001597, allocations: 218.6 kB / 22.99 MB, free: 4.977 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.688/1.688, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2538/0.2538, allocations: 44.27 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") [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.002437/0.002437, allocations: 70.72 kB / 468.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1466, allocations: 61.04 MB / 0.5167 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003489/0.1501, allocations: 1.684 MB / 0.5183 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.1516, allocations: 0.7845 MB / 0.5191 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.895e-05/0.1517, allocations: 3.938 kB / 0.5191 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.1521, allocations: 99.73 kB / 0.5192 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.1524, allocations: 91.64 kB / 0.5193 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.1527, allocations: 91.75 kB / 0.5194 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.1529, allocations: 119.7 kB / 0.5195 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.153, allocations: 12.2 kB / 0.5195 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.655e-05/0.1531, allocations: 51.78 kB / 0.5196 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1532, allocations: 71.78 kB / 0.5196 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.1533, allocations: 4 kB / 0.5196 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1534, allocations: 47.92 kB / 0.5197 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.1534, allocations: 31.91 kB / 0.5197 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.1535, allocations: 31.75 kB / 0.5197 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.1537, allocations: 135.4 kB / 0.5199 GB, free: 3.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1537, allocations: 0 / 0.5199 GB, free: 3.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1538, allocations: 0 / 0.5199 GB, free: 3.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1538, allocations: 0 / 0.5199 GB, free: 3.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006534/0.1544, allocations: 373.4 kB / 0.5202 GB, free: 2.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.1545, allocations: 12.03 kB / 0.5202 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.1545, allocations: 16.84 kB / 0.5202 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.1548, allocations: 158 kB / 0.5204 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1548, allocations: 12.36 kB / 0.5204 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.1549, allocations: 8.078 kB / 0.5204 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.155, allocations: 61.66 kB / 0.5205 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.155, allocations: 4 kB / 0.5205 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1551, allocations: 0 / 0.5205 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1551, allocations: 3.938 kB / 0.5205 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.1552, allocations: 35.91 kB / 0.5205 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.1556, allocations: 256.4 kB / 0.5208 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.1559, allocations: 70.67 kB / 0.5208 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.16e-05/0.1559, allocations: 24.84 kB / 0.5209 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1559, allocations: 0 / 0.5209 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.1561, allocations: 83.31 kB / 0.5209 GB, free: 2.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1561, allocations: 0 / 0.5209 GB, free: 2.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006678/0.1568, allocations: 221.3 kB / 0.5211 GB, free: 1.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1569, allocations: 51.41 kB / 0.5212 GB, free: 1.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.1572, allocations: 258.5 kB / 0.5214 GB, free: 1.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.1572, allocations: 29.7 kB / 0.5215 GB, free: 1.539 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1573, allocations: 112.1 kB / 0.5216 GB, free: 1.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.1573, allocations: 31.73 kB / 0.5216 GB, free: 1.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.1574, allocations: 21.72 kB / 0.5216 GB, free: 1.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1576, allocations: 334.8 kB / 0.5219 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-05/0.1576, allocations: 27.98 kB / 0.522 GB, free: 1.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.736e-05/0.1577, allocations: 37.7 kB / 0.522 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1579, allocations: 77.64 kB / 0.5221 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1579, allocations: 4 kB / 0.5221 GB, free: 0.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002394/0.1581, allocations: 121.5 kB / 0.5222 GB, free: 0.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1581, allocations: 4 kB / 0.5222 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1581, allocations: 4.188 kB / 0.5222 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1582, allocations: 3.938 kB / 0.5222 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1583, allocations: 23.86 kB / 0.5222 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1583, allocations: 4 kB / 0.5222 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.894e-05/0.1583, allocations: 4 kB / 0.5222 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1583, allocations: 4 kB / 0.5222 GB, free: 0.7031 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 (11): * Single equations (assignments): 11 * 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.0001332/0.1585, allocations: 141.8 kB / 0.5224 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.1585, allocations: 15.91 kB / 0.5224 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.1588, allocations: 139 kB / 0.5225 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1588, allocations: 11.92 kB / 0.5225 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1588, allocations: 4 kB / 0.5225 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1588, allocations: 0 / 0.5225 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005683/0.1594, allocations: 378.9 kB / 0.5229 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1594, allocations: 0 / 0.5229 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.113e-05/0.1594, allocations: 12 kB / 0.5229 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.1594, allocations: 8.016 kB / 0.5229 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.1595, allocations: 8 kB / 0.5229 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1595, allocations: 7.922 kB / 0.5229 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1595, allocations: 3.938 kB / 0.5229 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.1598, allocations: 232.2 kB / 0.5232 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.1598, allocations: 19.89 kB / 0.5232 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.1599, allocations: 4 kB / 0.5232 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.1599, allocations: 0 / 0.5232 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.16, allocations: 15.92 kB / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.16, allocations: 4 kB / 0.5232 GB, free: 15.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.1602, allocations: 200 kB / 0.5234 GB, free: 15.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1602, allocations: 0 / 0.5234 GB, free: 15.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.1605, allocations: 31.92 kB / 0.5234 GB, free: 15.41 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 (11): * Single equations (assignments): 9 * 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.002001/0.1625, allocations: 0.4896 MB / 0.5239 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.1627, allocations: 79.91 kB / 0.524 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1627, allocations: 0 / 0.524 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.627e-05/0.1628, allocations: 35.97 kB / 0.524 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.1632, allocations: 35.44 kB / 0.5241 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/0.1639, allocations: 287.6 kB / 0.5243 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.164, allocations: 113.9 kB / 0.5244 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.158e-05/0.1641, allocations: 16.97 kB / 0.5245 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.1641, allocations: 19.42 kB / 0.5245 GB, free: 14.35 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1641, allocations: 0 / 0.5245 GB, free: 14.35 MB / 414.1 MB Notification: Performance of Templates: time 0.005856/0.17, allocations: 2.047 MB / 0.5265 GB, free: 12.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.6712719313800335]