Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.001398/0.001398, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.001547/0.001547, allocations: 210 kB / 23.74 MB, free: 4.445 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.57/1.57, allocations: 207.7 MB / 234.6 MB, free: 9.812 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.2277/0.2277, allocations: 44.26 MB / 331.1 MB, free: 9.332 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") [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.002672/0.002672, allocations: 70.72 kB / 468.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1342, allocations: 61.05 MB / 0.5174 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00419/0.1384, allocations: 1.746 MB / 0.5191 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002997/0.1414, allocations: 1.532 MB / 0.5206 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1415, allocations: 7.938 kB / 0.5206 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.1419, allocations: 51.75 kB / 0.5207 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004728/0.1424, allocations: 91.53 kB / 0.5208 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.1428, allocations: 143.6 kB / 0.5209 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.1432, allocations: 187.3 kB / 0.5211 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.633e-05/0.1432, allocations: 13.72 kB / 0.5211 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.1434, allocations: 75.7 kB / 0.5212 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.1436, allocations: 67.62 kB / 0.5212 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.1437, allocations: 8 kB / 0.5213 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.1439, allocations: 63.97 kB / 0.5213 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.189e-05/0.1439, allocations: 43.83 kB / 0.5214 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.173e-05/0.144, allocations: 39.69 kB / 0.5214 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.1444, allocations: 171.3 kB / 0.5216 GB, free: 2.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1444, allocations: 7.938 kB / 0.5216 GB, free: 2.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1444, allocations: 0 / 0.5216 GB, free: 2.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1444, allocations: 4 kB / 0.5216 GB, free: 2.363 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007342/0.1451, allocations: 389.2 kB / 0.5219 GB, free: 1.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.1452, allocations: 15.97 kB / 0.522 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.132e-05/0.1452, allocations: 16.83 kB / 0.522 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.1457, allocations: 178 kB / 0.5221 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1457, allocations: 4.375 kB / 0.5221 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.1457, allocations: 8.125 kB / 0.5222 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.146, allocations: 160.5 kB / 0.5223 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.146, allocations: 3.938 kB / 0.5223 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.146, allocations: 3.984 kB / 0.5223 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-06/0.146, allocations: 0 / 0.5223 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1461, allocations: 31.98 kB / 0.5223 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.1464, allocations: 158.2 kB / 0.5225 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/0.1467, allocations: 105.2 kB / 0.5226 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.885e-05/0.1468, allocations: 41.7 kB / 0.5226 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1468, allocations: 7.938 kB / 0.5226 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.1471, allocations: 116.9 kB / 0.5228 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.1471, allocations: 0 / 0.5228 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000522/0.1476, allocations: 173.5 kB / 0.5229 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.1477, allocations: 132.5 kB / 0.523 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.148, allocations: 219.8 kB / 0.5233 GB, free: 436 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.1481, allocations: 29.7 kB / 0.5233 GB, free: 400 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.1481, allocations: 116.1 kB / 0.5234 GB, free: 280 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.1482, allocations: 31.73 kB / 0.5234 GB, free: 248 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.1483, allocations: 33.7 kB / 0.5235 GB, free: 208 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1484, allocations: 326.8 kB / 0.5238 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.675e-05/0.1485, allocations: 27.98 kB / 0.5238 GB, free: 15.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.1487, allocations: 132.5 kB / 0.5239 GB, free: 15.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.1489, allocations: 95.84 kB / 0.524 GB, free: 15.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1489, allocations: 4.031 kB / 0.524 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003117/0.1492, allocations: 149.4 kB / 0.5242 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1492, allocations: 4 kB / 0.5242 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1492, allocations: 4 kB / 0.5242 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1493, allocations: 3.984 kB / 0.5242 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.1494, allocations: 19.98 kB / 0.5242 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.1494, allocations: 4 kB / 0.5242 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.691e-05/0.1495, allocations: 7.953 kB / 0.5242 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.1495, allocations: 8 kB / 0.5242 GB, free: 15.38 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001392/0.1496, allocations: 141.8 kB / 0.5243 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.1497, allocations: 19.84 kB / 0.5244 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/0.1501, allocations: 162.7 kB / 0.5245 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1501, allocations: 0 / 0.5245 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1501, allocations: 0 / 0.5245 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.1501, allocations: 4 kB / 0.5245 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.1503, allocations: 157.2 kB / 0.5247 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1503, allocations: 0 / 0.5247 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.892e-05/0.1503, allocations: 11.98 kB / 0.5247 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.1504, allocations: 12.19 kB / 0.5247 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.1504, allocations: 0 / 0.5247 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/0.1504, allocations: 4 kB / 0.5247 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.1504, allocations: 4 kB / 0.5247 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.1507, allocations: 185.7 kB / 0.5249 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.1508, allocations: 19.84 kB / 0.5249 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.1508, allocations: 7.984 kB / 0.5249 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.1509, allocations: 4 kB / 0.5249 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.1509, allocations: 7.984 kB / 0.5249 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.1509, allocations: 8 kB / 0.5249 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.1511, allocations: 169.5 kB / 0.5251 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1511, allocations: 0 / 0.5251 GB, free: 14.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.1514, allocations: 39.92 kB / 0.5251 GB, free: 14.37 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.001863/0.1532, allocations: 485.1 kB / 0.5256 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003163/0.1536, allocations: 87.89 kB / 0.5257 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1536, allocations: 4 kB / 0.5257 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.1537, allocations: 39.92 kB / 0.5257 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.1541, allocations: 51.81 kB / 0.5258 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007426/0.1548, allocations: 309.1 kB / 0.5261 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.155, allocations: 102.4 kB / 0.5262 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.318e-05/0.1551, allocations: 31.42 kB / 0.5262 GB, free: 13.27 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1551, allocations: 0 / 0.5262 GB, free: 13.27 MB / 414.1 MB Notification: Performance of Templates: time 0.006388/0.1615, allocations: 2.786 MB / 0.5289 GB, free: 10.48 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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: 8.48312263796106]