Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.0008517/0.0008517, allocations: 83.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.003676/0.003676, allocations: 157.8 kB / 24.7 MB, free: 8.891 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.902/0.902, 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.2466/0.2466, allocations: 34.26 MB / 295.7 MB, free: 0.7109 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 443.5 MB, free: 1.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.317e-05, allocations: 6.281 kB / 443.5 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.1579/0.1579, allocations: 1.712 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1589, allocations: 0.9735 MB / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.242e-05/0.159, allocations: 1.625 kB / 446.2 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.1592, allocations: 40.98 kB / 446.3 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.1595, allocations: 93.34 kB / 446.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.1597, allocations: 83.19 kB / 446.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.1598, allocations: 111 kB / 446.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.635e-05/0.1599, allocations: 6.297 kB / 446.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.714e-05/0.1599, allocations: 56.56 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.16, allocations: 25.34 kB / 446.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.16, allocations: 6.25 kB / 446.6 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.724e-05/0.1601, allocations: 50.19 kB / 446.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.1601, allocations: 16.73 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.1602, allocations: 22.61 kB / 446.7 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1603, allocations: 115 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1603, allocations: 0 / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1603, allocations: 3.938 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1603, allocations: 0 / 446.8 MB, free: 43.05 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.0003491/0.1607, allocations: 349 kB / 447.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.1607, allocations: 9.219 kB / 447.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.1607, allocations: 10.55 kB / 447.2 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.1609, allocations: 148.6 kB / 447.3 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1609, allocations: 7.25 kB / 447.3 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.161, allocations: 6.328 kB / 447.3 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1611, allocations: 52.98 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1611, allocations: 3.938 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.1611, allocations: 0 / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.1611, allocations: 6.156 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.643e-05/0.1611, allocations: 25.97 kB / 447.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.1614, allocations: 222.4 kB / 447.7 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.1615, allocations: 56.08 kB / 447.7 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.1615, allocations: 24.53 kB / 447.7 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.1615, allocations: 3.516 kB / 447.7 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.659e-05/0.1616, allocations: 70.95 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.1616, allocations: 2.969 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003567/0.162, allocations: 183.9 kB / 448 MB, free: 42.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.162, allocations: 57.7 kB / 448 MB, free: 42.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.1621, allocations: 181.3 kB / 448.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.1621, allocations: 29.7 kB / 448.2 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.1621, allocations: 101 kB / 448.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.1621, allocations: 25.78 kB / 448.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.1622, allocations: 29.66 kB / 448.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.888e-05/0.1622, allocations: 323.3 kB / 448.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.297e-05/0.1622, allocations: 18.7 kB / 448.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.572e-05/0.1623, allocations: 47.61 kB / 448.8 MB, free: 41.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.333e-05/0.1623, allocations: 68.75 kB / 448.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1623, allocations: 0 / 448.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001002/0.1624, allocations: 106.9 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1624, allocations: 5.906 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1624, allocations: 0 / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1625, allocations: 2.625 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.027e-05/0.1625, allocations: 18.02 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1625, allocations: 2.625 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.1625, allocations: 2.75 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1626, allocations: 6.969 kB / 449 MB, free: 41.29 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 4.895e-05/0.1626, allocations: 125.1 kB / 449.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.1626, allocations: 13.23 kB / 449.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.1628, allocations: 124.2 kB / 449.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1628, allocations: 0 / 449.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1628, allocations: 0 / 449.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.1628, allocations: 0 / 449.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.163, allocations: 352.8 kB / 449.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.163, allocations: 3 kB / 449.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.163, allocations: 8.812 kB / 449.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.163, allocations: 3.141 kB / 449.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.163, allocations: 6.969 kB / 449.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.163, allocations: 4.031 kB / 449.6 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.163, allocations: 3.938 kB / 449.6 MB, free: 40.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.1631, allocations: 210.3 kB / 449.8 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.1631, allocations: 10.78 kB / 449.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.1632, allocations: 6.844 kB / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.1632, allocations: 7 kB / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.1632, allocations: 9.094 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.1632, allocations: 2.875 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.497e-05/0.1633, allocations: 142.8 kB / 450 MB, free: 40.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1633, allocations: 384 / 450 MB, free: 40.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.1635, allocations: 32.66 kB / 450 MB, free: 40.52 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.0007143/0.1642, allocations: 0.4918 MB / 450.5 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.1643, allocations: 61.64 kB / 450.6 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1643, allocations: 0 / 450.6 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.796e-05/0.1643, allocations: 32.95 kB / 450.6 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.1645, allocations: 39.64 kB / 450.7 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.1648, allocations: 242.9 kB / 450.9 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.361e-05/0.1649, allocations: 87.67 kB / 451 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.1649, allocations: 17 kB / 451 MB, free: 40.04 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1649, allocations: 4 kB / 451 MB, free: 40.04 MB / 410.7 MB Notification: Performance of Templates: time 0.002376/0.1673, allocations: 1.971 MB / 453 MB, free: 39.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.896534441038966]