Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.002075/0.002075, allocations: 79.75 kB / 20.52 MB, free: 1.121 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.003008/0.003008, allocations: 170 kB / 23.76 MB, free: 4.195 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.541/1.541, allocations: 158.6 MB / 185.5 MB, free: 6.23 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.217/0.217, allocations: 32.38 MB / 270.1 MB, free: 2.707 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") [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.002575/0.002575, allocations: 67.91 kB / 407.8 MB, free: 5.496 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1488, allocations: 61.04 MB / 468.8 MB, free: 8.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.00405/0.1528, allocations: 1.684 MB / 470.5 MB, free: 6.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.1547, allocations: 0.7766 MB / 471.3 MB, free: 5.785 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.895e-05/0.1548, allocations: 0 / 471.3 MB, free: 5.785 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.1553, allocations: 95.62 kB / 471.4 MB, free: 5.691 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.1556, allocations: 71.72 kB / 471.5 MB, free: 5.621 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.1559, allocations: 87.77 kB / 471.6 MB, free: 5.535 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.1562, allocations: 111.7 kB / 471.7 MB, free: 5.426 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1563, allocations: 4.234 kB / 471.7 MB, free: 5.422 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.1564, allocations: 51.77 kB / 471.7 MB, free: 5.371 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.1566, allocations: 63.75 kB / 471.8 MB, free: 5.309 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.1566, allocations: 4 kB / 471.8 MB, free: 5.305 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.1568, allocations: 43.97 kB / 471.8 MB, free: 5.262 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.992e-05/0.1568, allocations: 31.86 kB / 471.9 MB, free: 5.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.1569, allocations: 23.81 kB / 471.9 MB, free: 5.207 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.1572, allocations: 123.4 kB / 472 MB, free: 5.086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1572, allocations: 0 / 472 MB, free: 5.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1572, allocations: 4 kB / 472 MB, free: 5.082 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1572, allocations: 0 / 472 MB, free: 5.082 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007273/0.1579, allocations: 341.6 kB / 472.3 MB, free: 4.719 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.158, allocations: 11.97 kB / 472.4 MB, free: 4.707 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.158, allocations: 16.84 kB / 472.4 MB, free: 4.691 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.1584, allocations: 146.8 kB / 472.5 MB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.1584, allocations: 8.375 kB / 472.5 MB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.1584, allocations: 8.078 kB / 472.5 MB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1586, allocations: 57.67 kB / 472.6 MB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1587, allocations: 3.938 kB / 472.6 MB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1587, allocations: 4 kB / 472.6 MB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1587, allocations: 0 / 472.6 MB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1588, allocations: 19.98 kB / 472.6 MB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.1592, allocations: 236.5 kB / 472.8 MB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.1594, allocations: 62.61 kB / 472.9 MB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.31e-05/0.1595, allocations: 20.84 kB / 472.9 MB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.1595, allocations: 0 / 472.9 MB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.1597, allocations: 67.39 kB / 473 MB, free: 3.984 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.245e-06/0.1597, allocations: 4 kB / 473 MB, free: 3.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007423/0.1605, allocations: 189.3 kB / 473.2 MB, free: 3.789 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.1605, allocations: 51.41 kB / 473.2 MB, free: 3.727 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.1608, allocations: 214.3 kB / 473.4 MB, free: 3.508 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.1608, allocations: 33.7 kB / 473.5 MB, free: 3.469 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1609, allocations: 100.1 kB / 473.6 MB, free: 3.367 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.161, allocations: 23.8 kB / 473.6 MB, free: 3.344 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.161, allocations: 29.7 kB / 473.6 MB, free: 3.309 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.1612, allocations: 326.8 kB / 473.9 MB, free: 2.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.61e-05/0.1613, allocations: 20 kB / 474 MB, free: 2.961 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1614, allocations: 45.62 kB / 474 MB, free: 2.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.1616, allocations: 53.72 kB / 474.1 MB, free: 2.852 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1616, allocations: 0 / 474.1 MB, free: 2.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002726/0.1618, allocations: 113.5 kB / 474.2 MB, free: 2.734 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1619, allocations: 4.188 kB / 474.2 MB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.1619, allocations: 4 kB / 474.2 MB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1619, allocations: 3.938 kB / 474.2 MB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.162, allocations: 15.98 kB / 474.2 MB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.162, allocations: 4.031 kB / 474.2 MB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.1621, allocations: 8 kB / 474.2 MB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.1621, allocations: 8.312 kB / 474.2 MB, free: 2.688 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 (10): * Single equations (assignments): 10 * 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.0001418/0.1622, allocations: 125.8 kB / 474.3 MB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.1623, allocations: 19.84 kB / 474.4 MB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.1626, allocations: 119.1 kB / 474.5 MB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1626, allocations: 4 kB / 474.5 MB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.1626, allocations: 4 kB / 474.5 MB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1626, allocations: 3.938 kB / 474.5 MB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005698/0.1632, allocations: 343 kB / 474.8 MB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.1632, allocations: 4 kB / 474.8 MB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.1632, allocations: 11.94 kB / 474.8 MB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1632, allocations: 3.984 kB / 474.8 MB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1632, allocations: 0 / 474.8 MB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1632, allocations: 4 kB / 474.8 MB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.1633, allocations: 3.938 kB / 474.9 MB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.1636, allocations: 224.2 kB / 475.1 MB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.1636, allocations: 7.953 kB / 475.1 MB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.1637, allocations: 3.984 kB / 475.1 MB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.1637, allocations: 8.031 kB / 475.1 MB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.1638, allocations: 15.92 kB / 475.1 MB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1638, allocations: 0 / 475.1 MB, free: 1.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.164, allocations: 160.2 kB / 475.3 MB, free: 1.574 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.164, allocations: 0 / 475.3 MB, free: 1.574 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.1643, allocations: 27.94 kB / 475.3 MB, free: 1.547 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 (9): * Single equations (assignments): 7 * 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.002367/0.1667, allocations: 0.4911 MB / 475.8 MB, free: 1.062 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.1669, allocations: 63.89 kB / 475.8 MB, free: 1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1669, allocations: 0 / 475.8 MB, free: 1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.97e-05/0.167, allocations: 27.94 kB / 475.9 MB, free: 0.9727 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.1675, allocations: 31.97 kB / 475.9 MB, free: 0.9414 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006248/0.1681, allocations: 254.8 kB / 476.1 MB, free: 0.6641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.1683, allocations: 92.81 kB / 476.2 MB, free: 0.5508 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.465e-05/0.1683, allocations: 16.48 kB / 476.3 MB, free: 0.5352 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.1683, allocations: 12.5 kB / 476.3 MB, free: 0.5234 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1683, allocations: 0 / 476.3 MB, free: 0.5234 MB / 446.1 MB Notification: Performance of Templates: time 0.2357/0.4041, allocations: 1.808 MB / 478.1 MB, free: 49.91 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.4230889530153945]