Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008963/0.0008963, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003335/0.003335, allocations: 154.8 kB / 24.69 MB, free: 9.43 MB / 18.57 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 0.878/0.878, allocations: 177.2 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 32.79 MB / 294.2 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 440.9 MB, free: 3.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.924e-05, allocations: 6.281 kB / 440.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.001958/0.001977, allocations: 1.784 MB / 442.7 MB, free: 1.867 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.003443, allocations: 1.746 MB / 444.5 MB, free: 116 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.966e-05/0.003513, allocations: 4 kB / 444.5 MB, free: 112 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.003761, allocations: 55.56 kB / 444.5 MB, free: 56 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1579/0.1617, allocations: 134.6 kB / 444.6 MB, free: 43.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.1619, allocations: 112.6 kB / 444.8 MB, free: 43.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.1622, allocations: 217.1 kB / 445 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.1622, allocations: 7.625 kB / 445 MB, free: 43.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1623, allocations: 108.1 kB / 445.1 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1624, allocations: 62.16 kB / 445.1 MB, free: 43.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.1624, allocations: 8.406 kB / 445.1 MB, free: 43.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.1626, allocations: 113.2 kB / 445.3 MB, free: 43.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.1626, allocations: 41.52 kB / 445.3 MB, free: 43.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.1627, allocations: 36.59 kB / 445.3 MB, free: 43.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.1629, allocations: 232.8 kB / 445.6 MB, free: 43.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1629, allocations: 0 / 445.6 MB, free: 43.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1629, allocations: 2.031 kB / 445.6 MB, free: 43.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.1629, allocations: 0 / 445.6 MB, free: 43.82 MB / 410.7 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.000415/0.1633, allocations: 431.1 kB / 446 MB, free: 43.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1634, allocations: 8.438 kB / 446 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.1634, allocations: 21.7 kB / 446 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1637, allocations: 187 kB / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1637, allocations: 0.9375 kB / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.1637, allocations: 9.406 kB / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1638, allocations: 153.9 kB / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.1638, allocations: 0 / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1638, allocations: 10.5 kB / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1638, allocations: 9.188 kB / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.998e-05/0.1639, allocations: 33.09 kB / 446.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.164, allocations: 160.8 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.1642, allocations: 109 kB / 446.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.541e-05/0.1642, allocations: 39.88 kB / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.1642, allocations: 0 / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.1643, allocations: 114.1 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 7.92e-07/0.1643, allocations: 0 / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002539/0.1646, allocations: 185.6 kB / 447 MB, free: 42.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.1646, allocations: 134.3 kB / 447.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.1648, allocations: 243.3 kB / 447.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.1648, allocations: 32.14 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.1648, allocations: 116.9 kB / 447.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.1648, allocations: 28.2 kB / 447.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.1649, allocations: 31.27 kB / 447.6 MB, free: 42.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.039e-05/0.1649, allocations: 330.6 kB / 447.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.467e-05/0.165, allocations: 28.72 kB / 447.9 MB, free: 42.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.165, allocations: 126.4 kB / 448.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.826e-05/0.1651, allocations: 95.3 kB / 448.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1651, allocations: 3.562 kB / 448.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001321/0.1652, allocations: 143.8 kB / 448.3 MB, free: 41.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.1652, allocations: 11.22 kB / 448.3 MB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1652, allocations: 2.969 kB / 448.3 MB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1653, allocations: 3.938 kB / 448.3 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/0.1653, allocations: 23.55 kB / 448.3 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1653, allocations: 2.969 kB / 448.3 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/0.1654, allocations: 12.88 kB / 448.3 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1654, allocations: 6.875 kB / 448.4 MB, free: 41.97 MB / 410.7 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 5.861e-05/0.1654, allocations: 129.9 kB / 448.5 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.1655, allocations: 20.67 kB / 448.5 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.1656, allocations: 169.3 kB / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1656, allocations: 8.375 kB / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1656, allocations: 0 / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1656, allocations: 0 / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.1e-05/0.1657, allocations: 168.8 kB / 448.8 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1657, allocations: 4 kB / 448.8 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.1657, allocations: 11.81 kB / 448.9 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1657, allocations: 0 / 448.9 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1657, allocations: 6.406 kB / 448.9 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1657, allocations: 3.562 kB / 448.9 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1658, allocations: 6.844 kB / 448.9 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.1659, allocations: 182.4 kB / 449 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.1659, allocations: 17.06 kB / 449.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.1659, allocations: 0 / 449.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-05/0.166, allocations: 12.03 kB / 449.1 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.166, allocations: 18.05 kB / 449.1 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.166, allocations: 9.25 kB / 449.1 MB, free: 41.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.046e-05/0.1661, allocations: 177.4 kB / 449.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1661, allocations: 1.781 kB / 449.3 MB, free: 41.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000176/0.1663, allocations: 60.86 kB / 449.3 MB, free: 41.49 MB / 410.7 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.0007508/0.167, allocations: 0.5352 MB / 449.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.1672, allocations: 90.58 kB / 450 MB, free: 41.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.1672, allocations: 0 / 450 MB, free: 41.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.084e-05/0.1672, allocations: 43.91 kB / 450 MB, free: 41.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.1674, allocations: 63.91 kB / 450.1 MB, free: 41.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.1678, allocations: 323.2 kB / 450.4 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.564e-05/0.1678, allocations: 109.5 kB / 450.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.1679, allocations: 33.2 kB / 450.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1679, allocations: 4 kB / 450.5 MB, free: 41.02 MB / 410.7 MB Notification: Performance of Templates: time 0.002816/0.1707, allocations: 3.26 MB / 453.8 MB, free: 40.66 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.268196599557996]