Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.0008237/0.0008237, allocations: 87.62 kB / 21.44 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.003527/0.003527, allocations: 161.9 kB / 24.7 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.8815/0.8815, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2483/0.2483, allocations: 34.25 MB / 295.7 MB, free: 0.6992 MB / 266.7 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 443.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.49e-05, allocations: 2.281 kB / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.1563/0.1563, allocations: 1.713 MB / 445.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009124/0.1572, allocations: 0.9672 MB / 446.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.1573, allocations: 2.5 kB / 446.2 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.1575, allocations: 47.77 kB / 446.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.1578, allocations: 93.86 kB / 446.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.1579, allocations: 76.78 kB / 446.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.158, allocations: 117.5 kB / 446.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.1581, allocations: 2.938 kB / 446.5 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.043e-05/0.1582, allocations: 61.64 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.208e-05/0.1583, allocations: 25.56 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.1583, allocations: 2.719 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.109e-05/0.1584, allocations: 44.97 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/0.1584, allocations: 27.7 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.1584, allocations: 19.22 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.1586, allocations: 121.9 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1586, allocations: 0 / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1586, allocations: 0 / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1586, allocations: 2.906 kB / 446.8 MB, free: 43.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003613/0.159, allocations: 351.5 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.159, allocations: 10.56 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.159, allocations: 13.77 kB / 447.2 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.1592, allocations: 154.4 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1592, allocations: 384 / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.1592, allocations: 3.094 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.1593, allocations: 58.8 kB / 447.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1594, allocations: 3.938 kB / 447.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1594, allocations: 0 / 447.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1594, allocations: 3.688 kB / 447.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.1594, allocations: 30.3 kB / 447.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.1596, allocations: 222.5 kB / 447.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.1597, allocations: 64.77 kB / 447.7 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/0.1598, allocations: 20.83 kB / 447.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.1598, allocations: 0 / 447.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.749e-05/0.1599, allocations: 72.88 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1599, allocations: 2.875 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003663/0.1603, allocations: 190.3 kB / 448 MB, free: 42.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.1603, allocations: 54.55 kB / 448.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1604, allocations: 214.2 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.1604, allocations: 25.7 kB / 448.3 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.1604, allocations: 108.9 kB / 448.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.1604, allocations: 26.16 kB / 448.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.1605, allocations: 26.03 kB / 448.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.15e-05/0.1605, allocations: 324.4 kB / 448.8 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-05/0.1605, allocations: 22.83 kB / 448.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.1606, allocations: 39.84 kB / 448.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.786e-05/0.1606, allocations: 66.95 kB / 448.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1606, allocations: 2.938 kB / 448.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001033/0.1607, allocations: 103.3 kB / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1608, allocations: 9.906 kB / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1608, allocations: 0 / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1608, allocations: 3.656 kB / 449 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.643e-05/0.1608, allocations: 25.86 kB / 449.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1608, allocations: 0 / 449.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.1609, allocations: 2.906 kB / 449.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1609, allocations: 2.938 kB / 449.1 MB, free: 41.26 MB / 410.7 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 5.409e-05/0.1609, allocations: 137.8 kB / 449.2 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.1609, allocations: 9.766 kB / 449.2 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.1611, allocations: 119.1 kB / 449.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1611, allocations: 2.906 kB / 449.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1611, allocations: 0 / 449.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1611, allocations: 0 / 449.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1613, allocations: 359.6 kB / 449.7 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1613, allocations: 0 / 449.7 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.1613, allocations: 8.844 kB / 449.7 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1613, allocations: 0 / 449.7 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1614, allocations: 10.81 kB / 449.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1614, allocations: 5.438 kB / 449.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1614, allocations: 3.938 kB / 449.7 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.852e-05/0.1615, allocations: 214.3 kB / 449.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.1615, allocations: 13.11 kB / 449.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.1615, allocations: 3.938 kB / 449.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.737e-05/0.1615, allocations: 7.125 kB / 449.9 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.1615, allocations: 5.875 kB / 449.9 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1616, allocations: 2.969 kB / 449.9 MB, free: 40.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.605e-05/0.1616, allocations: 164.7 kB / 450.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1616, allocations: 4 kB / 450.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001683/0.1618, allocations: 30.41 kB / 450.1 MB, free: 40.47 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: 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.0007044/0.1625, allocations: 491.1 kB / 450.6 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.1626, allocations: 64.48 kB / 450.7 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.1626, allocations: 0 / 450.7 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.924e-05/0.1627, allocations: 31.56 kB / 450.7 MB, free: 40.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.1629, allocations: 35.02 kB / 450.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.1632, allocations: 270.8 kB / 451 MB, free: 40.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.847e-05/0.1633, allocations: 93.12 kB / 451.1 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.1633, allocations: 24.48 kB / 451.1 MB, free: 39.99 MB / 410.7 MB Notification: Performance of SimCode: time 4.7e-07/0.1633, allocations: 0 / 451.1 MB, free: 39.99 MB / 410.7 MB Notification: Performance of Templates: time 0.002333/0.1656, allocations: 2.03 MB / 453.2 MB, free: 39.77 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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: 4.593102329410613]