Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001513/0.001513, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001653/0.001653, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.58/1.58, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2508/0.2508, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 67.89 kB / 0.4915 GB, free: 7.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1517, allocations: 66 MB / 0.5559 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003411/0.1551, allocations: 1.731 MB / 0.5576 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.157, allocations: 1.038 MB / 0.5586 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.43e-05/0.1571, allocations: 3.938 kB / 0.5587 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.1575, allocations: 55.75 kB / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.1578, allocations: 91.59 kB / 0.5588 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.1581, allocations: 79.67 kB / 0.5589 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.1583, allocations: 115.6 kB / 0.559 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1585, allocations: 12 kB / 0.559 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1586, allocations: 43.78 kB / 0.559 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.772e-05/0.1587, allocations: 27.86 kB / 0.5591 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.1587, allocations: 7.984 kB / 0.5591 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1588, allocations: 43.98 kB / 0.5591 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.1589, allocations: 31.86 kB / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.341e-05/0.159, allocations: 39.67 kB / 0.5592 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.1592, allocations: 139.3 kB / 0.5593 GB, free: 1.762 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1593, allocations: 0 / 0.5593 GB, free: 1.762 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.1593, allocations: 4 kB / 0.5593 GB, free: 1.758 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.1593, allocations: 4 kB / 0.5593 GB, free: 1.754 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008126/0.1601, allocations: 450.3 kB / 0.5597 GB, free: 1.266 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.1601, allocations: 8.031 kB / 0.5598 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.1602, allocations: 16.84 kB / 0.5598 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.1606, allocations: 221.1 kB / 0.56 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1606, allocations: 384 / 0.56 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.1606, allocations: 12.11 kB / 0.56 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1608, allocations: 61.61 kB / 0.56 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1608, allocations: 0 / 0.56 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1608, allocations: 0 / 0.56 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1608, allocations: 4 kB / 0.5601 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.965e-05/0.1609, allocations: 23.98 kB / 0.5601 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.1614, allocations: 300.8 kB / 0.5604 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.1616, allocations: 58.61 kB / 0.5604 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/0.1616, allocations: 20.84 kB / 0.5604 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1616, allocations: 0 / 0.5604 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.1618, allocations: 67.39 kB / 0.5605 GB, free: 376 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1618, allocations: 0 / 0.5605 GB, free: 376 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006179/0.1624, allocations: 177.3 kB / 0.5607 GB, free: 192 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.1625, allocations: 59.41 kB / 0.5607 GB, free: 120 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.1628, allocations: 270.8 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.1628, allocations: 29.7 kB / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.793e-05/0.1629, allocations: 112.1 kB / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.163, allocations: 31.77 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.163, allocations: 21.72 kB / 0.5612 GB, free: 15.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1632, allocations: 334.7 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.735e-05/0.1633, allocations: 27.92 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.1634, allocations: 41.64 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.1635, allocations: 57.7 kB / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1635, allocations: 0 / 0.5616 GB, free: 15.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002263/0.1637, allocations: 113.5 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1638, allocations: 4 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1638, allocations: 0 / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.1638, allocations: 4.031 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1639, allocations: 19.98 kB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1639, allocations: 0 / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.164, allocations: 3.938 kB / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.164, allocations: 4 kB / 0.5618 GB, free: 15.01 MB / 430.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.0001495/0.1641, allocations: 141.9 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.1642, allocations: 15.91 kB / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.1642, allocations: 25.39 kB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1642, allocations: 0 / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1642, allocations: 4 kB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.1642, allocations: 3.938 kB / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.1648, allocations: 399.3 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1648, allocations: 4.375 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.1648, allocations: 15.98 kB / 0.5623 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.1648, allocations: 4 kB / 0.5623 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1648, allocations: 3.938 kB / 0.5623 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1648, allocations: 0 / 0.5623 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1648, allocations: 4 kB / 0.5624 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.1651, allocations: 212.2 kB / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.1652, allocations: 89.02 kB / 0.5626 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.1652, allocations: 11.92 kB / 0.5626 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.1653, allocations: 0 / 0.5626 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.1653, allocations: 4 kB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.1653, allocations: 15.98 kB / 0.5627 GB, free: 13.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.1655, allocations: 196.6 kB / 0.5629 GB, free: 13.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1655, allocations: 3.938 kB / 0.5629 GB, free: 13.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000288/0.1658, allocations: 27.94 kB / 0.5629 GB, free: 13.75 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: 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 (8): * Single equations (assignments): 6 * 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.001793/0.1676, allocations: 465.8 kB / 0.5633 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.1678, allocations: 59.91 kB / 0.5634 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1678, allocations: 0 / 0.5634 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/0.1679, allocations: 27.92 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1683, allocations: 24.3 kB / 0.5634 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/0.1689, allocations: 303.6 kB / 0.5637 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.1694, allocations: 0.7235 MB / 0.5644 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.08e-05/0.1694, allocations: 16.88 kB / 0.5644 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.1695, allocations: 15.44 kB / 0.5645 GB, free: 12.26 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1695, allocations: 0 / 0.5645 GB, free: 12.26 MB / 430.1 MB Notification: Performance of Templates: time 0.005464/0.1749, allocations: 1.779 MB / 0.5662 GB, free: 10.49 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.416845723986626]