Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.0007956/0.0007956, 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.003584/0.003584, allocations: 158.6 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.8689/0.8689, 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.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.2518/0.2518, allocations: 32.8 MB / 294.2 MB, free: 1.203 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 440.9 MB, free: 3.676 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.527e-05, allocations: 6.219 kB / 440.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002206/0.002231, allocations: 1.724 MB / 442.7 MB, free: 1.926 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.003419, allocations: 0.9686 MB / 443.6 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.003501, allocations: 0 / 443.6 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.003784, allocations: 43.69 kB / 443.7 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.004099, allocations: 107.5 kB / 443.8 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.004291, allocations: 83.59 kB / 443.9 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.004449, allocations: 99.64 kB / 444 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.829e-05/0.004547, allocations: 11.98 kB / 444 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/0.004632, allocations: 55.83 kB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.613e-05/0.004708, allocations: 27.91 kB / 444 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.004724, allocations: 4 kB / 444 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.938e-05/0.004813, allocations: 43.92 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.004883, allocations: 23.86 kB / 444.1 MB, free: 472 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.004927, allocations: 23.92 kB / 444.1 MB, free: 448 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.005117, allocations: 123.5 kB / 444.3 MB, free: 324 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.005121, allocations: 3.984 kB / 444.3 MB, free: 320 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.005122, allocations: 0 / 444.3 MB, free: 320 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.005128, allocations: 0 / 444.3 MB, free: 320 kB / 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.203/0.2082, allocations: 351.8 kB / 444.6 MB, free: 46.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2082, allocations: 10.66 kB / 444.6 MB, free: 46.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.2083, allocations: 10.17 kB / 444.6 MB, free: 46.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.2085, allocations: 151.2 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2085, allocations: 3.656 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.2085, allocations: 6.375 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.2086, allocations: 53.45 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2086, allocations: 2.5 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.2087, allocations: 3.438 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2087, allocations: 0.5625 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.088e-05/0.2087, allocations: 29.84 kB / 444.9 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.209, allocations: 232.5 kB / 445.1 MB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.2091, allocations: 52.69 kB / 445.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.2091, allocations: 22.94 kB / 445.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.2091, allocations: 0.625 kB / 445.2 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.2092, allocations: 71.44 kB / 445.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.61e-07/0.2092, allocations: 2.75 kB / 445.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003869/0.2096, allocations: 189.9 kB / 445.4 MB, free: 46.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.2096, allocations: 51.41 kB / 445.5 MB, free: 46.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2097, allocations: 213.4 kB / 445.7 MB, free: 46.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.2098, allocations: 31.92 kB / 445.7 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.2098, allocations: 110.3 kB / 445.8 MB, free: 46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.2098, allocations: 26.28 kB / 445.9 MB, free: 45.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.2098, allocations: 22.02 kB / 445.9 MB, free: 45.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.604e-05/0.2099, allocations: 326.2 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.254e-05/0.2099, allocations: 21.94 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.2099, allocations: 36.66 kB / 446.3 MB, free: 45.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.331e-05/0.21, allocations: 62.67 kB / 446.3 MB, free: 45.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.21, allocations: 0 / 446.3 MB, free: 45.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.772e-05/0.2101, allocations: 117.4 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2101, allocations: 5.969 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2101, allocations: 5.625 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2101, allocations: 3.469 kB / 446.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.2102, allocations: 18.53 kB / 446.5 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2102, allocations: 0 / 446.5 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.2102, allocations: 5.844 kB / 446.5 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.2102, allocations: 6.625 kB / 446.5 MB, free: 45.57 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.104e-05/0.2103, allocations: 130 kB / 446.6 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.2103, allocations: 14.8 kB / 446.6 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.2104, allocations: 123.5 kB / 446.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2104, allocations: 2.688 kB / 446.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2104, allocations: 0 / 446.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2104, allocations: 0 / 446.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.2107, allocations: 353.8 kB / 447.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2107, allocations: 0 / 447.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.2107, allocations: 11.86 kB / 447.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2107, allocations: 2 kB / 447.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.2107, allocations: 2.562 kB / 447.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2107, allocations: 0 / 447.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2107, allocations: 2.844 kB / 447.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.2108, allocations: 216 kB / 447.3 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.2108, allocations: 17.2 kB / 447.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.2108, allocations: 5.562 kB / 447.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.731e-05/0.2109, allocations: 6.391 kB / 447.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.2109, allocations: 13.47 kB / 447.4 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.2109, allocations: 3.188 kB / 447.4 MB, free: 44.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.527e-05/0.211, allocations: 159.9 kB / 447.5 MB, free: 44.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.211, allocations: 4.719 kB / 447.5 MB, free: 44.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001686/0.2111, allocations: 23.81 kB / 447.5 MB, free: 44.82 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.0007192/0.2119, allocations: 498.1 kB / 448 MB, free: 44.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.212, allocations: 60.89 kB / 448.1 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.212, allocations: 3.938 kB / 448.1 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.973e-05/0.212, allocations: 28.84 kB / 448.1 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.2122, allocations: 33.59 kB / 448.2 MB, free: 44.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.2125, allocations: 273.8 kB / 448.4 MB, free: 44.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.934e-05/0.2126, allocations: 100.7 kB / 448.5 MB, free: 44.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.2126, allocations: 19.83 kB / 448.5 MB, free: 44.36 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2126, allocations: 0 / 448.5 MB, free: 44.36 MB / 410.7 MB Notification: Performance of Templates: time 0.002248/0.2149, allocations: 2.03 MB / 450.6 MB, free: 44.13 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.872464411891997]