Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.0007978/0.0007978, allocations: 87.62 kB / 21.44 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.003353/0.003353, allocations: 164.1 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.8325/0.8325, allocations: 177.1 MB / 205 MB, free: 5.723 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.2293/0.2293, allocations: 34.25 MB / 295.7 MB, free: 0.6914 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.32e-07/9.32e-07, allocations: 0 / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.775e-05, allocations: 6.219 kB / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.1516/0.1516, allocations: 1.722 MB / 445.3 MB, free: 43.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.153, allocations: 1.667 MB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.1531, allocations: 3.031 kB / 446.9 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.1533, allocations: 33.66 kB / 447 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.1536, allocations: 108.7 kB / 447.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.1537, allocations: 81.59 kB / 447.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.1538, allocations: 109.7 kB / 447.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.255e-05/0.1539, allocations: 3.031 kB / 447.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.154, allocations: 63.94 kB / 447.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/0.1541, allocations: 32.02 kB / 447.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1541, allocations: 8.062 kB / 447.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1542, allocations: 107.8 kB / 447.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.1543, allocations: 23.84 kB / 447.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.1543, allocations: 19.14 kB / 447.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.1545, allocations: 178.9 kB / 447.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1545, allocations: 3.5 kB / 447.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1545, allocations: 0 / 447.7 MB, free: 42.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1545, allocations: 0.7188 kB / 447.7 MB, free: 42.52 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.0003661/0.1548, allocations: 353.8 kB / 448 MB, free: 42.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.1549, allocations: 10.44 kB / 448 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.1549, allocations: 10.48 kB / 448 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.1551, allocations: 145.1 kB / 448.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1551, allocations: 3.062 kB / 448.2 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.1551, allocations: 8.891 kB / 448.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1552, allocations: 101.9 kB / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1552, allocations: 0 / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1553, allocations: 2.938 kB / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1553, allocations: 0 / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/0.1553, allocations: 26.11 kB / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.1555, allocations: 240.7 kB / 448.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.549e-05/0.1556, allocations: 56.69 kB / 448.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.898e-05/0.1556, allocations: 23.67 kB / 448.6 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.1557, allocations: 2.906 kB / 448.6 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.887e-05/0.1557, allocations: 71.58 kB / 448.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.1557, allocations: 0 / 448.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003433/0.1561, allocations: 168.9 kB / 448.9 MB, free: 41.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.1561, allocations: 89.3 kB / 449 MB, free: 41.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.67e-05/0.1562, allocations: 163.4 kB / 449.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.1562, allocations: 29.7 kB / 449.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.1562, allocations: 94.2 kB / 449.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.1563, allocations: 28.86 kB / 449.3 MB, free: 41.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.1563, allocations: 23.62 kB / 449.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.887e-05/0.1563, allocations: 328.8 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/0.1563, allocations: 20.31 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.747e-05/0.1564, allocations: 73.92 kB / 449.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.48e-05/0.1564, allocations: 70.69 kB / 449.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1564, allocations: 0 / 449.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.27e-05/0.1565, allocations: 100.6 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.1565, allocations: 6.969 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1565, allocations: 2.844 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1566, allocations: 0 / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.1566, allocations: 21.38 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1566, allocations: 3.562 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.1566, allocations: 6.875 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1566, allocations: 2.812 kB / 449.9 MB, free: 40.64 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.566e-05/0.1567, allocations: 124.4 kB / 450 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.1567, allocations: 10.17 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.1568, allocations: 120.8 kB / 450.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1568, allocations: 5.719 kB / 450.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1568, allocations: 0 / 450.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1568, allocations: 64 / 450.2 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.1571, allocations: 355.7 kB / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1571, allocations: 0.8125 kB / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.1571, allocations: 14.66 kB / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1571, allocations: 0 / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.1571, allocations: 2.844 kB / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1571, allocations: 0 / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1571, allocations: 3.125 kB / 450.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.1572, allocations: 216.3 kB / 450.8 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.1572, allocations: 10.06 kB / 450.8 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.1572, allocations: 10.84 kB / 450.8 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.1572, allocations: 2.844 kB / 450.8 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.1573, allocations: 14.09 kB / 450.8 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1573, allocations: 2.906 kB / 450.8 MB, free: 39.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.441e-05/0.1573, allocations: 137.1 kB / 450.9 MB, free: 39.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1573, allocations: 0 / 450.9 MB, free: 39.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001883/0.1575, allocations: 46.34 kB / 451 MB, free: 39.87 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.0007986/0.1583, allocations: 0.5842 MB / 451.6 MB, free: 39.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.1584, allocations: 59.05 kB / 451.6 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1584, allocations: 0 / 451.6 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.1585, allocations: 35.44 kB / 451.7 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.1587, allocations: 28.39 kB / 451.7 MB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.159, allocations: 232.8 kB / 451.9 MB, free: 39.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.174e-05/0.159, allocations: 97.2 kB / 452 MB, free: 39.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.159, allocations: 23.12 kB / 452 MB, free: 39.36 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.159, allocations: 0 / 452 MB, free: 39.36 MB / 410.7 MB Notification: Performance of Templates: time 0.002476/0.1615, allocations: 2.469 MB / 454.5 MB, free: 39.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.743159285746515]