Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001281/0.001281, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.005744/0.005744, allocations: 161.5 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.9001/0.9001, allocations: 177.1 MB / 205 MB, free: 5.727 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.2315/0.2315, allocations: 34.26 MB / 295.7 MB, free: 0.6953 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.727e-05, allocations: 3.125 kB / 443.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.1554/0.1555, allocations: 1.746 MB / 445.3 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000946/0.1564, allocations: 0.9746 MB / 446.3 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.494e-05/0.1565, allocations: 6.812 kB / 446.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.1568, allocations: 107.3 kB / 446.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.157, allocations: 137.2 kB / 446.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.1572, allocations: 90.03 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.1573, allocations: 130.9 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.1575, allocations: 14.62 kB / 446.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.1576, allocations: 83.17 kB / 446.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.197e-05/0.1577, allocations: 68.25 kB / 446.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1577, allocations: 5.5 kB / 446.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.31e-05/0.1578, allocations: 60.62 kB / 446.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.1578, allocations: 39.11 kB / 447 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.1578, allocations: 25.56 kB / 447 MB, free: 43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.158, allocations: 162.2 kB / 447.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.158, allocations: 0 / 447.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.158, allocations: 1.781 kB / 447.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.158, allocations: 0 / 447.2 MB, free: 42.94 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004152/0.1584, allocations: 389.2 kB / 447.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1585, allocations: 12.06 kB / 447.6 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.1585, allocations: 25.7 kB / 447.6 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.1587, allocations: 164.4 kB / 447.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1587, allocations: 3.25 kB / 447.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1587, allocations: 3.25 kB / 447.7 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.1589, allocations: 78.09 kB / 447.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1589, allocations: 7.938 kB / 447.8 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.1589, allocations: 0 / 447.8 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1589, allocations: 0 / 447.8 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.755e-05/0.159, allocations: 44.72 kB / 447.9 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.1592, allocations: 267.9 kB / 448.1 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.1594, allocations: 87.31 kB / 448.2 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.1595, allocations: 34.69 kB / 448.3 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.1595, allocations: 2.531 kB / 448.3 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.672e-05/0.1596, allocations: 73.34 kB / 448.3 MB, free: 42.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.1596, allocations: 0 / 448.3 MB, free: 42.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005386/0.1601, allocations: 322.1 kB / 448.6 MB, free: 41.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.1601, allocations: 57.56 kB / 448.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1603, allocations: 261.6 kB / 449 MB, free: 41.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.1603, allocations: 32.55 kB / 449 MB, free: 41.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.317e-05/0.1603, allocations: 113 kB / 449.1 MB, free: 41.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1603, allocations: 54.94 kB / 449.2 MB, free: 41.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.1604, allocations: 29.19 kB / 449.2 MB, free: 41.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.892e-05/0.1604, allocations: 334.9 kB / 449.5 MB, free: 41.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.1604, allocations: 38.7 kB / 449.5 MB, free: 41.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.004e-05/0.1605, allocations: 59.52 kB / 449.6 MB, free: 41.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.528e-05/0.1606, allocations: 107.1 kB / 449.7 MB, free: 41.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1606, allocations: 112 / 449.7 MB, free: 41.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001427/0.1607, allocations: 172.5 kB / 449.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1607, allocations: 6.969 kB / 449.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1607, allocations: 6.328 kB / 449.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1607, allocations: 0 / 449.9 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.392e-05/0.1608, allocations: 32.2 kB / 449.9 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1608, allocations: 0 / 449.9 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.636e-05/0.1608, allocations: 3.031 kB / 449.9 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.1608, allocations: 10.69 kB / 449.9 MB, free: 40.95 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 (16): * Single equations (assignments): 16 * 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 6.01e-05/0.1609, allocations: 144 kB / 450.1 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.1609, allocations: 20.23 kB / 450.1 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.1611, allocations: 195.9 kB / 450.3 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1611, allocations: 2.75 kB / 450.3 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1611, allocations: 0 / 450.3 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1611, allocations: 3.281 kB / 450.3 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.1614, allocations: 465.1 kB / 450.7 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1614, allocations: 2.344 kB / 450.7 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.1615, allocations: 20.55 kB / 450.8 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1615, allocations: 2.938 kB / 450.8 MB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1615, allocations: 10.06 kB / 450.8 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1615, allocations: 0 / 450.8 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1615, allocations: 3 kB / 450.8 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.1616, allocations: 277.5 kB / 451.1 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.1617, allocations: 25.86 kB / 451.1 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.1617, allocations: 4 kB / 451.1 MB, free: 40.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.09e-05/0.1617, allocations: 6.938 kB / 451.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.1617, allocations: 12.36 kB / 451.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1618, allocations: 5.812 kB / 451.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.1618, allocations: 206.4 kB / 451.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1618, allocations: 0 / 451.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000174/0.162, allocations: 40.67 kB / 451.4 MB, free: 40.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.0007554/0.1628, allocations: 0.5565 MB / 451.9 MB, free: 39.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.1629, allocations: 105.2 kB / 452 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1629, allocations: 2.844 kB / 452 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.367e-05/0.163, allocations: 53.62 kB / 452.1 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.1632, allocations: 41.86 kB / 452.1 MB, free: 39.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.1636, allocations: 365.3 kB / 452.5 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.869e-05/0.1636, allocations: 116.3 kB / 452.6 MB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.1637, allocations: 24.38 kB / 452.6 MB, free: 39.46 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1637, allocations: 3.938 kB / 452.6 MB, free: 39.46 MB / 410.7 MB Notification: Performance of Templates: time 0.002544/0.1662, allocations: 2.622 MB / 455.2 MB, free: 39.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.807912640273571]