Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.0009988/0.0009988, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001203/0.001203, allocations: 173.9 kB / 24.91 MB, free: 8.723 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.9963/0.9963, 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.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.2549/0.2549, allocations: 34.25 MB / 296.1 MB, free: 0.5977 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 325.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.149e-05, allocations: 9.719 kB / 325.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.00244/0.002461, allocations: 1.799 MB / 327.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.003735, allocations: 1.014 MB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.413e-05/0.003819, allocations: 0 / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.004146, allocations: 51.69 kB / 328.3 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.004455, allocations: 99.48 kB / 328.3 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.004674, allocations: 83.59 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.004845, allocations: 107.6 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.296e-05/0.004928, allocations: 11.98 kB / 328.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.814e-05/0.005016, allocations: 51.84 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.005084, allocations: 27.89 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.005098, allocations: 4 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-05/0.005175, allocations: 43.92 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.005219, allocations: 31.84 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.005253, allocations: 20.38 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.005415, allocations: 111.6 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.005417, allocations: 4 kB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005417, allocations: 0 / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.005421, allocations: 3.938 kB / 328.8 MB, free: 4.066 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.0003457/0.005767, allocations: 349.3 kB / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.005797, allocations: 8.031 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.005827, allocations: 12.92 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.005979, allocations: 162.4 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.005995, allocations: 4.375 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.00601, allocations: 384 / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.951e-05/0.006109, allocations: 69.77 kB / 329.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.006119, allocations: 7.938 kB / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.006127, allocations: 3.984 kB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.006132, allocations: 0 / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.006156, allocations: 11.94 kB / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.006374, allocations: 166 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.296e-05/0.006457, allocations: 85.28 kB / 329.7 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.006476, allocations: 12.92 kB / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.00649, allocations: 0 / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.758e-05/0.006578, allocations: 74.08 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.006579, allocations: 0 / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002947/0.006873, allocations: 113.5 kB / 329.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.006913, allocations: 59.39 kB / 330 MB, free: 2.828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.007051, allocations: 208 kB / 330.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.007069, allocations: 29.7 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.007106, allocations: 100.1 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.007136, allocations: 27.77 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.007166, allocations: 17.72 kB / 330.3 MB, free: 2.422 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.007263, allocations: 330.8 kB / 330.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.007283, allocations: 10.83 kB / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.907e-05/0.007312, allocations: 29.7 kB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.851e-05/0.00736, allocations: 44.45 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.007361, allocations: 0 / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.89e-05/0.00746, allocations: 84.3 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.007474, allocations: 4 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.007478, allocations: 0 / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.007493, allocations: 0 / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.00756, allocations: 19.98 kB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.007564, allocations: 32 / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.007592, allocations: 8 kB / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.0076, allocations: 8 kB / 330.9 MB, free: 1.863 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.664e-05/0.007676, allocations: 112.7 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.007694, allocations: 20.28 kB / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.007808, allocations: 79.06 kB / 331.1 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.007811, allocations: 0 / 331.1 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.007813, allocations: 0 / 331.1 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.007819, allocations: 4 kB / 331.1 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.008057, allocations: 307.5 kB / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.00806, allocations: 8.016 kB / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.551e-05/0.008085, allocations: 8 kB / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.008088, allocations: 0 / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.008094, allocations: 4 kB / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.008096, allocations: 0 / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008097, allocations: 3.938 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.008213, allocations: 219 kB / 331.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.008227, allocations: 15.89 kB / 331.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.008242, allocations: 0 / 331.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.231e-05/0.008284, allocations: 8 kB / 331.6 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.008317, allocations: 15.92 kB / 331.6 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.008328, allocations: 0 / 331.6 MB, free: 1.008 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.373e-05/0.008392, allocations: 73 kB / 331.7 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.008392, allocations: 0 / 331.7 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000159/0.008551, allocations: 27.94 kB / 331.7 MB, free: 0.9023 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.001355/0.009906, allocations: 0.5762 MB / 332.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.951e-05/0.01001, allocations: 44.77 kB / 332.4 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.01001, allocations: 0 / 332.4 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.155e-05/0.01004, allocations: 24.8 kB / 332.4 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.01023, allocations: 35.28 kB / 332.4 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.01058, allocations: 268.2 kB / 332.7 MB, free: 236 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.046e-05/0.01062, allocations: 75.45 kB / 332.8 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.679e-05/0.01065, allocations: 17.27 kB / 332.8 MB, free: 124 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.225e-05/0.01072, allocations: 67.36 kB / 332.8 MB, free: 56 kB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01072, allocations: 4 kB / 332.8 MB, free: 52 kB / 298.7 MB Notification: Performance of Templates: time 0.003718/0.01443, allocations: 2.031 MB / 334.9 MB, free: 14.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.828994372859597]