Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.0008691/0.0008691, allocations: 87.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.004757/0.004757, allocations: 164 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.9004/0.9004, allocations: 177.1 MB / 205 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2572/0.2572, allocations: 32.8 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 440.9 MB, free: 3.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.567e-05, allocations: 2.281 kB / 440.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002552/0.002577, allocations: 1.874 MB / 442.8 MB, free: 1.766 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.004106, allocations: 1.076 MB / 443.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.004239, allocations: 4 kB / 443.9 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004341/0.004673, allocations: 167.3 kB / 444.1 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005359/0.005209, allocations: 183.2 kB / 444.2 MB, free: 344 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.005559, allocations: 119.5 kB / 444.4 MB, free: 224 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1964/0.202, allocations: 245.8 kB / 444.6 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.2022, allocations: 29.66 kB / 444.6 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.2025, allocations: 135.6 kB / 444.8 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.2026, allocations: 127.5 kB / 444.9 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.2027, allocations: 8.781 kB / 444.9 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.2028, allocations: 61.02 kB / 445 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.813e-05/0.2029, allocations: 62.17 kB / 445 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.203, allocations: 45.34 kB / 445.1 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.2033, allocations: 224.9 kB / 445.3 MB, free: 43.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2033, allocations: 0 / 445.3 MB, free: 43.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2033, allocations: 2.75 kB / 445.3 MB, free: 43.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.2033, allocations: 0 / 445.3 MB, free: 43.91 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005755/0.2038, allocations: 481.7 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2039, allocations: 8.625 kB / 445.8 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.2039, allocations: 28.59 kB / 445.8 MB, free: 43.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.2043, allocations: 216.2 kB / 446 MB, free: 43.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.2043, allocations: 9.469 kB / 446 MB, free: 43.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.2043, allocations: 3.312 kB / 446 MB, free: 43.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.2045, allocations: 121.6 kB / 446.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.2045, allocations: 0 / 446.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.2045, allocations: 9.594 kB / 446.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.2046, allocations: 2.844 kB / 446.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.31e-05/0.2046, allocations: 50.67 kB / 446.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.2051, allocations: 400 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.2054, allocations: 126.5 kB / 446.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.1e-05/0.2054, allocations: 43.17 kB / 446.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.2054, allocations: 0 / 446.7 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.2056, allocations: 121 kB / 446.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.2056, allocations: 0 / 446.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008341/0.2065, allocations: 0.5091 MB / 447.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.2065, allocations: 83.61 kB / 447.5 MB, free: 42.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.2067, allocations: 388.8 kB / 447.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.2067, allocations: 32.08 kB / 447.9 MB, free: 42.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.2068, allocations: 143.6 kB / 448 MB, free: 42.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.2068, allocations: 75.02 kB / 448.1 MB, free: 42.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.2069, allocations: 41.42 kB / 448.1 MB, free: 42.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.862e-05/0.2069, allocations: 340.9 kB / 448.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.207, allocations: 58.97 kB / 448.5 MB, free: 42.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.066e-05/0.2071, allocations: 101.7 kB / 448.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.2072, allocations: 165 kB / 448.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2072, allocations: 0 / 448.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002213/0.2075, allocations: 235.5 kB / 449 MB, free: 41.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2075, allocations: 6.594 kB / 449 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2075, allocations: 0 / 449 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2075, allocations: 2.875 kB / 449 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.706e-05/0.2076, allocations: 48.06 kB / 449.1 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2076, allocations: 2.906 kB / 449.1 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.2077, allocations: 14.02 kB / 449.1 MB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.2077, allocations: 19.75 kB / 449.1 MB, free: 41.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.772e-05/0.2078, allocations: 152.2 kB / 449.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.2078, allocations: 33.44 kB / 449.3 MB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002921/0.2081, allocations: 285.7 kB / 449.6 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2081, allocations: 3.094 kB / 449.6 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.2081, allocations: 0 / 449.6 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.2081, allocations: 7.938 kB / 449.6 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.2086, allocations: 0.6563 MB / 450.2 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2086, allocations: 10.06 kB / 450.2 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.988e-05/0.2086, allocations: 31.95 kB / 450.3 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2086, allocations: 2.812 kB / 450.3 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2086, allocations: 9.656 kB / 450.3 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2086, allocations: 3.75 kB / 450.3 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2086, allocations: 2.938 kB / 450.3 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.2089, allocations: 446.9 kB / 450.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.2089, allocations: 24.72 kB / 450.7 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.2089, allocations: 10.41 kB / 450.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.209, allocations: 6.109 kB / 450.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.209, allocations: 22.59 kB / 450.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.2091, allocations: 15.41 kB / 450.8 MB, free: 41.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.2092, allocations: 280.1 kB / 451.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2092, allocations: 0 / 451.1 MB, free: 40.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002279/0.2094, allocations: 52.44 kB / 451.1 MB, free: 40.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000879/0.2103, allocations: 0.5618 MB / 451.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.2105, allocations: 157.2 kB / 451.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2105, allocations: 0 / 451.8 MB, free: 40.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.583e-05/0.2106, allocations: 78.73 kB / 451.9 MB, free: 40.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.211, allocations: 63.27 kB / 452 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.2115, allocations: 0.5381 MB / 452.5 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.839e-05/0.2116, allocations: 151.8 kB / 452.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.2116, allocations: 36 kB / 452.7 MB, free: 40.26 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.2116, allocations: 4 kB / 452.7 MB, free: 40.26 MB / 410.7 MB Notification: Performance of Templates: time 0.003495/0.2151, allocations: 3.734 MB / 456.4 MB, free: 39.79 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.006834938190877]