Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.001417/0.001417, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001667/0.001667, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.683/1.683, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2588/0.2588, allocations: 46.93 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002438/0.002438, allocations: 59.91 kB / 0.4915 GB, free: 7.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1535, allocations: 66.01 MB / 0.5559 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004526/0.158, allocations: 1.974 MB / 0.5578 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002564/0.1606, allocations: 1.204 MB / 0.559 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.1608, allocations: 3.938 kB / 0.559 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007581/0.1615, allocations: 203.3 kB / 0.5592 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00059/0.1621, allocations: 195.3 kB / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.1627, allocations: 163.5 kB / 0.5596 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.1633, allocations: 271.2 kB / 0.5598 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1634, allocations: 16.3 kB / 0.5598 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.1637, allocations: 119.5 kB / 0.5599 GB, free: 1.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.1639, allocations: 119.5 kB / 0.5601 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.839e-05/0.164, allocations: 15.94 kB / 0.5601 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.1642, allocations: 59.91 kB / 0.5601 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1643, allocations: 51.83 kB / 0.5602 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003139/0.1646, allocations: 91.36 kB / 0.5603 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004261/0.165, allocations: 246.9 kB / 0.5605 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.165, allocations: 0 / 0.5605 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.165, allocations: 4 kB / 0.5605 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.165, allocations: 0 / 0.5605 GB, free: 0.5117 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001095/0.1661, allocations: 0.562 MB / 0.5611 GB, free: 15.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.614e-05/0.1662, allocations: 12.03 kB / 0.5611 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.782e-05/0.1663, allocations: 24.8 kB / 0.5611 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.1667, allocations: 295.7 kB / 0.5614 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.1668, allocations: 384 / 0.5614 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.1668, allocations: 12.12 kB / 0.5614 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/0.1671, allocations: 104.2 kB / 0.5615 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1671, allocations: 0 / 0.5615 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1671, allocations: 0 / 0.5615 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1671, allocations: 7.938 kB / 0.5615 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.1673, allocations: 47.95 kB / 0.5615 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007497/0.168, allocations: 381.5 kB / 0.5619 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.1684, allocations: 117.2 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.1685, allocations: 37.7 kB / 0.5621 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.1685, allocations: 7.984 kB / 0.5621 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.1688, allocations: 116.9 kB / 0.5622 GB, free: 14.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.1688, allocations: 4 kB / 0.5622 GB, free: 14.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005826/0.1694, allocations: 181.4 kB / 0.5623 GB, free: 14.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.386e-05/0.1695, allocations: 106.8 kB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004887/0.1699, allocations: 351.3 kB / 0.5628 GB, free: 13.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.17, allocations: 33.7 kB / 0.5628 GB, free: 13.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.1701, allocations: 140.1 kB / 0.563 GB, free: 13.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.1702, allocations: 31.73 kB / 0.563 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.487e-05/0.1702, allocations: 33.72 kB / 0.563 GB, free: 13.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002279/0.1705, allocations: 338.8 kB / 0.5633 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.1707, allocations: 39.97 kB / 0.5634 GB, free: 13.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.1708, allocations: 69.14 kB / 0.5634 GB, free: 13.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.171, allocations: 103.9 kB / 0.5635 GB, free: 13.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.171, allocations: 0 / 0.5635 GB, free: 13.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003512/0.1714, allocations: 145.4 kB / 0.5637 GB, free: 12.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.1714, allocations: 8 kB / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1714, allocations: 0 / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.1714, allocations: 4 kB / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.1716, allocations: 24.05 kB / 0.5637 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1716, allocations: 3.938 kB / 0.5637 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1717, allocations: 27.81 kB / 0.5637 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.1717, allocations: 7.938 kB / 0.5638 GB, free: 12.89 MB / 430.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001842/0.1719, allocations: 157 kB / 0.5639 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.1719, allocations: 27.81 kB / 0.5639 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.495e-05/0.172, allocations: 29.83 kB / 0.564 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.172, allocations: 0 / 0.564 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.172, allocations: 0 / 0.564 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.172, allocations: 8 kB / 0.564 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.1724, allocations: 253.5 kB / 0.5642 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1724, allocations: 4 kB / 0.5642 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.1725, allocations: 7.984 kB / 0.5642 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1725, allocations: 4 kB / 0.5642 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1725, allocations: 0 / 0.5642 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1725, allocations: 0 / 0.5642 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1725, allocations: 4 kB / 0.5642 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004596/0.173, allocations: 193.8 kB / 0.5644 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-05/0.1731, allocations: 96.95 kB / 0.5645 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.1731, allocations: 7.938 kB / 0.5645 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.1732, allocations: 11.98 kB / 0.5645 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.1732, allocations: 4 kB / 0.5645 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.1733, allocations: 11.92 kB / 0.5645 GB, free: 11.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003138/0.1736, allocations: 257.9 kB / 0.5648 GB, free: 11.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1736, allocations: 4 kB / 0.5648 GB, free: 11.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003333/0.1739, allocations: 43.92 kB / 0.5648 GB, free: 11.68 MB / 430.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001666/0.1756, allocations: 422.6 kB / 0.5652 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.1759, allocations: 91.89 kB / 0.5653 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1759, allocations: 0 / 0.5653 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.176, allocations: 39.98 kB / 0.5654 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.1765, allocations: 75.47 kB / 0.5654 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008529/0.1773, allocations: 408.1 kB / 0.5658 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.1779, allocations: 0.748 MB / 0.5665 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.178, allocations: 33.94 kB / 0.5666 GB, free: 9.992 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.1781, allocations: 23.42 kB / 0.5666 GB, free: 9.973 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1781, allocations: 0 / 0.5666 GB, free: 9.973 MB / 430.1 MB Notification: Performance of Templates: time 0.00841/0.1865, allocations: 3.046 MB / 0.5696 GB, free: 6.945 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.554007820785046]