Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.0009051/0.0009051, 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.001014/0.001014, allocations: 172.5 kB / 24.92 MB, free: 8.254 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.9572/0.9572, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2734/0.2734, allocations: 34.26 MB / 296.1 MB, free: 0.6328 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 325.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.821e-05, allocations: 2.312 kB / 325.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003373/0.003401, allocations: 1.81 MB / 327.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.005795, allocations: 1.742 MB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.54e-05/0.00588, allocations: 4 kB / 328.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.006165, allocations: 35.77 kB / 329 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.006507, allocations: 95.42 kB / 329.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.006727, allocations: 87.59 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.006904, allocations: 99.69 kB / 329.2 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.82e-05/0.006992, allocations: 12 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.0071, allocations: 67.75 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.007216, allocations: 31.89 kB / 329.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.007232, allocations: 4 kB / 329.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.007459, allocations: 111.8 kB / 329.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.007509, allocations: 19.92 kB / 329.5 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.007551, allocations: 19.92 kB / 329.5 MB, free: 3.387 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.007822, allocations: 155.5 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.007826, allocations: 4 kB / 329.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.007827, allocations: 0 / 329.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.007832, allocations: 4 kB / 329.7 MB, free: 3.227 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.0004394/0.008272, allocations: 333.4 kB / 330 MB, free: 2.879 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.008308, allocations: 12.03 kB / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.008346, allocations: 8.922 kB / 330 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.008548, allocations: 145.2 kB / 330.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.008565, allocations: 384 / 330.2 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.008586, allocations: 12.36 kB / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.008742, allocations: 100.6 kB / 330.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.008753, allocations: 0 / 330.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.008763, allocations: 4 kB / 330.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.008769, allocations: 8 kB / 330.3 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.008804, allocations: 10.81 kB / 330.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002543/0.009058, allocations: 177.8 kB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.009163, allocations: 81.3 kB / 330.5 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.009188, allocations: 16.8 kB / 330.6 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.0092, allocations: 0 / 330.6 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/0.009306, allocations: 66.14 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.009307, allocations: 0 / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003477/0.009655, allocations: 109.9 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.009699, allocations: 85.05 kB / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.009833, allocations: 162.8 kB / 331 MB, free: 1.773 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.00985, allocations: 25.7 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.00989, allocations: 92.11 kB / 331.1 MB, free: 1.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.00992, allocations: 27.75 kB / 331.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.00996, allocations: 29.69 kB / 331.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.01005, allocations: 322.8 kB / 331.5 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.01008, allocations: 10.83 kB / 331.5 MB, free: 1.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.641e-05/0.01012, allocations: 56.27 kB / 331.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.889e-05/0.01018, allocations: 52.42 kB / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.01018, allocations: 0 / 331.6 MB, free: 1.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001075/0.01029, allocations: 72.48 kB / 331.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.0103, allocations: 4 kB / 331.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01031, allocations: 0 / 331.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.01032, allocations: 0 / 331.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.0104, allocations: 23.92 kB / 331.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.01041, allocations: 0 / 331.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.01045, allocations: 0 / 331.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.01045, allocations: 4 kB / 331.7 MB, free: 1.008 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 7.862e-05/0.01053, allocations: 124.6 kB / 331.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.01055, allocations: 7.984 kB / 331.8 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.01069, allocations: 74.39 kB / 331.9 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01069, allocations: 4 kB / 331.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.01069, allocations: 0 / 331.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.0107, allocations: 3.984 kB / 331.9 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.01099, allocations: 291.6 kB / 332.2 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.01099, allocations: 4 kB / 332.2 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.01103, allocations: 8 kB / 332.2 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01104, allocations: 4.031 kB / 332.2 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.01104, allocations: 3.984 kB / 332.2 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.01105, allocations: 4 kB / 332.2 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01105, allocations: 0 / 332.2 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.01119, allocations: 223 kB / 332.4 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.01122, allocations: 11.89 kB / 332.4 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.01124, allocations: 0 / 332.4 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.01131, allocations: 7.984 kB / 332.4 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.01134, allocations: 11.98 kB / 332.4 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.01135, allocations: 0 / 332.4 MB, free: 180 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.348e-05/0.01141, allocations: 46.7 kB / 332.5 MB, free: 132 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01141, allocations: 0 / 332.5 MB, free: 132 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002891/0.0117, allocations: 51.86 kB / 332.5 MB, free: 80 kB / 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.002025/0.01372, allocations: 0.7094 MB / 333.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.01385, allocations: 48.77 kB / 333.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.01386, allocations: 0 / 333.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.0139, allocations: 20.86 kB / 333.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01418, allocations: 38.67 kB / 333.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.01463, allocations: 203.6 kB / 333.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.084e-05/0.01468, allocations: 67.34 kB / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.884e-05/0.01475, allocations: 21.39 kB / 333.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.01485, allocations: 79.28 kB / 333.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01486, allocations: 0 / 333.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of Templates: time 0.006103/0.02096, allocations: 2.762 MB / 336.5 MB, free: 12.47 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.856537798885256]