Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.0009295/0.0009295, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001011/0.001011, allocations: 174.3 kB / 24.92 MB, free: 8.773 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.961/0.961, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.2882/0.2882, allocations: 32.8 MB / 294.6 MB, free: 1.223 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 323.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.326e-05, allocations: 3.188 kB / 323.4 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002313/0.002326, allocations: 1.798 MB / 325.2 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.00375, allocations: 1.001 MB / 326.2 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.496e-05/0.003845, allocations: 3.938 kB / 326.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.004124, allocations: 47.69 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.004375, allocations: 95.48 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.004558, allocations: 75.66 kB / 326.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.004697, allocations: 119.6 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.41e-05/0.004761, allocations: 5.375 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.905e-05/0.00485, allocations: 55.88 kB / 326.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.004933, allocations: 23.86 kB / 326.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.004949, allocations: 4 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.537e-05/0.005034, allocations: 47.91 kB / 326.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.005077, allocations: 19.92 kB / 326.7 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.005111, allocations: 23.92 kB / 326.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.005281, allocations: 103.5 kB / 326.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.005282, allocations: 0 / 326.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.005283, allocations: 4 kB / 326.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.005288, allocations: 0 / 326.8 MB, free: 6.152 MB / 298.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.0003525/0.005641, allocations: 325.4 kB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.005672, allocations: 8.031 kB / 327.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.005703, allocations: 8.938 kB / 327.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.005858, allocations: 162 kB / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.005871, allocations: 384 / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.005883, allocations: 384 / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.005988, allocations: 65.77 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.005997, allocations: 3.938 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-06/0.006003, allocations: 4 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.006008, allocations: 0 / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.332e-05/0.006031, allocations: 15.98 kB / 327.4 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.006216, allocations: 166 kB / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.892e-05/0.006295, allocations: 85.23 kB / 327.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.052e-05/0.006316, allocations: 16.84 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.006324, allocations: 0 / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.631e-05/0.0064, allocations: 70.14 kB / 327.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.006402, allocations: 0 / 327.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002488/0.006651, allocations: 121.5 kB / 327.8 MB, free: 5.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.006676, allocations: 51.41 kB / 327.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.006783, allocations: 180.2 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.006797, allocations: 33.64 kB / 328.1 MB, free: 4.723 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.161e-05/0.006829, allocations: 96.06 kB / 328.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.006857, allocations: 31.77 kB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.006885, allocations: 21.72 kB / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.006964, allocations: 326.8 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.006979, allocations: 14.75 kB / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/0.007002, allocations: 25.7 kB / 328.6 MB, free: 4.191 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.007041, allocations: 40.52 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.007042, allocations: 0 / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.117e-05/0.007113, allocations: 76.38 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.007123, allocations: 8 kB / 328.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.007127, allocations: 0 / 328.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.007137, allocations: 0 / 328.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.499e-05/0.007192, allocations: 16 kB / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.806e-06/0.007195, allocations: 0 / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.007219, allocations: 7.984 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.007226, allocations: 8.031 kB / 328.7 MB, free: 4.023 MB / 298.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 6.475e-05/0.00729, allocations: 125.2 kB / 328.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.007302, allocations: 11.92 kB / 328.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.088e-05/0.007393, allocations: 75.08 kB / 328.9 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.007396, allocations: 4 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.007397, allocations: 0 / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.007403, allocations: 3.984 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.007617, allocations: 291.4 kB / 329.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.007619, allocations: 384 / 329.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.007641, allocations: 12.03 kB / 329.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007642, allocations: 0 / 329.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.00765, allocations: 11.98 kB / 329.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.007651, allocations: 0 / 329.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.007653, allocations: 3.984 kB / 329.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.007764, allocations: 215 kB / 329.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.007774, allocations: 11.91 kB / 329.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.007789, allocations: 8 kB / 329.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.639e-05/0.007826, allocations: 0 / 329.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.007849, allocations: 7.984 kB / 329.5 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.007859, allocations: 4 kB / 329.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.343e-05/0.007902, allocations: 64.62 kB / 329.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007902, allocations: 0 / 329.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001449/0.008047, allocations: 31.92 kB / 329.6 MB, free: 3.09 MB / 298.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.001237/0.009284, allocations: 0.5748 MB / 330.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.198e-05/0.009376, allocations: 44.77 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.00938, allocations: 0 / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.42e-05/0.009414, allocations: 32.78 kB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.009583, allocations: 23.92 kB / 330.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.009877, allocations: 227.6 kB / 330.5 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.208e-05/0.009919, allocations: 71.34 kB / 330.6 MB, free: 2.375 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.009954, allocations: 17.41 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.01002, allocations: 67.36 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01002, allocations: 0 / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of Templates: time 0.003505/0.01352, allocations: 2.017 MB / 332.7 MB, free: 308 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9593149297870696]