Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.001504/0.001504, allocations: 82.95 kB / 20.52 MB, free: 1.277 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.001458/0.001458, allocations: 167.4 kB / 23.77 MB, free: 4.461 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.599/1.599, allocations: 158.6 MB / 185.5 MB, free: 6.199 MB / 174.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.2245/0.2245, allocations: 32.38 MB / 270.1 MB, free: 2.699 MB / 254.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") [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.002651/0.002651, allocations: 63.91 kB / 407.8 MB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1444, allocations: 61.06 MB / 468.9 MB, free: 8.234 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.0045/0.1489, allocations: 1.688 MB / 470.5 MB, free: 6.531 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1509, allocations: 0.7804 MB / 471.3 MB, free: 5.742 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.1511, allocations: 0 / 471.3 MB, free: 5.742 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004953/0.1516, allocations: 111.7 kB / 471.4 MB, free: 5.633 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.152, allocations: 91.7 kB / 471.5 MB, free: 5.543 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.1523, allocations: 87.7 kB / 471.6 MB, free: 5.457 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.1527, allocations: 127.6 kB / 471.7 MB, free: 5.332 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1528, allocations: 15.98 kB / 471.8 MB, free: 5.316 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.153, allocations: 55.77 kB / 471.8 MB, free: 5.262 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1532, allocations: 71.78 kB / 471.9 MB, free: 5.191 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.1532, allocations: 4 kB / 471.9 MB, free: 5.188 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.1534, allocations: 43.98 kB / 471.9 MB, free: 5.145 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.943e-05/0.1535, allocations: 35.84 kB / 472 MB, free: 5.109 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.1536, allocations: 43.67 kB / 472 MB, free: 5.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.1539, allocations: 139.4 kB / 472.1 MB, free: 4.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.154, allocations: 4 kB / 472.1 MB, free: 4.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.154, allocations: 0 / 472.1 MB, free: 4.926 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.154, allocations: 0 / 472.1 MB, free: 4.926 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007891/0.1548, allocations: 365.4 kB / 472.5 MB, free: 4.539 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1548, allocations: 12.03 kB / 472.5 MB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.694e-05/0.1549, allocations: 16.84 kB / 472.5 MB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.1553, allocations: 166.1 kB / 472.7 MB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.1553, allocations: 12.31 kB / 472.7 MB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.1554, allocations: 8.125 kB / 472.7 MB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.1556, allocations: 69.66 kB / 472.8 MB, free: 4.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1556, allocations: 3.984 kB / 472.8 MB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1556, allocations: 4 kB / 472.8 MB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1556, allocations: 0 / 472.8 MB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.1558, allocations: 35.97 kB / 472.8 MB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/0.1563, allocations: 268.3 kB / 473.1 MB, free: 3.895 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.1565, allocations: 66.73 kB / 473.1 MB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.14e-05/0.1566, allocations: 28.84 kB / 473.2 MB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.1566, allocations: 11.97 kB / 473.2 MB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.1568, allocations: 79.36 kB / 473.3 MB, free: 3.688 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.914e-06/0.1568, allocations: 0 / 473.3 MB, free: 3.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007491/0.1576, allocations: 241.2 kB / 473.5 MB, free: 3.445 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.1576, allocations: 51.41 kB / 473.6 MB, free: 3.383 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.1579, allocations: 254.5 kB / 473.8 MB, free: 3.121 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.158, allocations: 29.7 kB / 473.8 MB, free: 3.086 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/0.1581, allocations: 116.1 kB / 473.9 MB, free: 2.969 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.1581, allocations: 39.69 kB / 474 MB, free: 2.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.1582, allocations: 29.72 kB / 474 MB, free: 2.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1584, allocations: 326.8 kB / 474.3 MB, free: 2.566 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.048e-05/0.1585, allocations: 35.98 kB / 474.4 MB, free: 2.531 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.1586, allocations: 49.69 kB / 474.4 MB, free: 2.477 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.1587, allocations: 85.64 kB / 474.5 MB, free: 2.387 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1587, allocations: 4 kB / 474.5 MB, free: 2.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003173/0.1591, allocations: 137.5 kB / 474.6 MB, free: 2.242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1591, allocations: 4 kB / 474.6 MB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1591, allocations: 7.969 kB / 474.6 MB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1591, allocations: 4 kB / 474.7 MB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1592, allocations: 19.98 kB / 474.7 MB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1592, allocations: 0 / 474.7 MB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.1593, allocations: 11.94 kB / 474.7 MB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.1593, allocations: 7.984 kB / 474.7 MB, free: 2.188 MB / 446.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 (13): * Single equations (assignments): 13 * 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.0001498/0.1595, allocations: 141.8 kB / 474.8 MB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.1595, allocations: 15.91 kB / 474.8 MB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.1598, allocations: 159.4 kB / 475 MB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1598, allocations: 4 kB / 475 MB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1598, allocations: 0 / 475 MB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.1599, allocations: 7.922 kB / 475 MB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.1605, allocations: 410.8 kB / 475.4 MB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.1605, allocations: 4 kB / 475.4 MB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.539e-05/0.1606, allocations: 19.92 kB / 475.4 MB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1606, allocations: 0 / 475.4 MB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1606, allocations: 7.938 kB / 475.4 MB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1606, allocations: 0 / 475.4 MB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1606, allocations: 4 kB / 475.4 MB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.161, allocations: 252.4 kB / 475.7 MB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.161, allocations: 15.89 kB / 475.7 MB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.1611, allocations: 11.94 kB / 475.7 MB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/0.1611, allocations: 4 kB / 475.7 MB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.1612, allocations: 7.984 kB / 475.7 MB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.1612, allocations: 8 kB / 475.7 MB, free: 1.066 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.1614, allocations: 196.2 kB / 475.9 MB, free: 0.875 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1614, allocations: 0 / 475.9 MB, free: 0.875 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003739/0.1618, allocations: 24 kB / 476 MB, free: 0.8516 MB / 446.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 (13): * Single equations (assignments): 11 * 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.001981/0.1638, allocations: 0.4913 MB / 476.4 MB, free: 376 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002552/0.1641, allocations: 91.89 kB / 476.5 MB, free: 284 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1641, allocations: 0 / 476.5 MB, free: 284 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.1642, allocations: 55.92 kB / 476.6 MB, free: 228 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.1646, allocations: 31.95 kB / 476.6 MB, free: 196 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2692/0.4338, allocations: 302.8 kB / 476.9 MB, free: 49.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.4339, allocations: 105.4 kB / 477 MB, free: 49.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.434, allocations: 18.31 kB / 477 MB, free: 49.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.434, allocations: 24.97 kB / 477.1 MB, free: 49.86 MB / 446.1 MB Notification: Performance of SimCode: time 9.61e-07/0.434, allocations: 0 / 477.1 MB, free: 49.86 MB / 446.1 MB Notification: Performance of Templates: time 0.005598/0.4396, allocations: 2.042 MB / 479.1 MB, free: 49.75 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.4798962090862915]