Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001047/0.001047, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001208/0.001208, allocations: 161.3 kB / 24.99 MB, free: 9.273 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 1.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2974/0.2974, allocations: 32.8 MB / 294.6 MB, free: 1.277 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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.544e-05, allocations: 5.688 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003087/0.003122, allocations: 1.645 MB / 377.7 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008308/0.003953, allocations: 0.5336 MB / 378.2 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.00402, allocations: 4 kB / 378.2 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.004239, allocations: 23.84 kB / 378.2 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.004541, allocations: 79.56 kB / 378.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.004822, allocations: 115.5 kB / 378.4 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.004971, allocations: 71.77 kB / 378.5 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.005072, allocations: 7.984 kB / 378.5 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.089e-05/0.005133, allocations: 23.92 kB / 378.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.005189, allocations: 31.84 kB / 378.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.005204, allocations: 4 kB / 378.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.638e-05/0.00529, allocations: 27.98 kB / 378.6 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.005336, allocations: 11.94 kB / 378.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.005367, allocations: 8 kB / 378.6 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.005523, allocations: 71.73 kB / 378.7 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.005526, allocations: 3.938 kB / 378.7 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.005528, allocations: 0 / 378.7 MB, free: 2.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.005533, allocations: 0 / 378.7 MB, free: 2.32 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005027/0.006036, allocations: 412.2 kB / 379.1 MB, free: 1.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.006075, allocations: 12.03 kB / 379.1 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.006125, allocations: 12.83 kB / 379.1 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.006277, allocations: 136.5 kB / 379.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.006287, allocations: 384 / 379.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.006309, allocations: 4.375 kB / 379.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.006431, allocations: 50.95 kB / 379.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.006441, allocations: 4.188 kB / 379.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.006452, allocations: 4.125 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.006459, allocations: 0 / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.343e-05/0.006492, allocations: 11.98 kB / 379.3 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.006804, allocations: 279.8 kB / 379.6 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.006968, allocations: 43.06 kB / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.006994, allocations: 15.77 kB / 379.6 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.007015, allocations: 3.938 kB / 379.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.007037, allocations: 37.39 kB / 379.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.007038, allocations: 0 / 379.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003766/0.007415, allocations: 105.4 kB / 379.8 MB, free: 1.074 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.007448, allocations: 51.41 kB / 379.8 MB, free: 1.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.007564, allocations: 200.6 kB / 380 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.007574, allocations: 33.64 kB / 380.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.007625, allocations: 142.9 kB / 380.2 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.00765, allocations: 27.72 kB / 380.2 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.007681, allocations: 23.38 kB / 380.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.007797, allocations: 0.4923 MB / 380.7 MB, free: 56 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.007816, allocations: 4 kB / 380.7 MB, free: 52 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.583e-05/0.007832, allocations: 8.062 kB / 380.7 MB, free: 44 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.007871, allocations: 23.69 kB / 380.8 MB, free: 16 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.007872, allocations: 0 / 380.8 MB, free: 16 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.521e-05/0.007967, allocations: 61.78 kB / 380.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.007979, allocations: 8 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.007983, allocations: 0 / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.007996, allocations: 4 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.927e-05/0.008045, allocations: 15.92 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.00805, allocations: 0 / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.00807, allocations: 4 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.008076, allocations: 0 / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.058e-05/0.008156, allocations: 160.6 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.008179, allocations: 15.89 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.00831, allocations: 58.16 kB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.008314, allocations: 4 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.008319, allocations: 4 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.008323, allocations: 3.984 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.008561, allocations: 321.4 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008563, allocations: 0 / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.008596, allocations: 12.3 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.008598, allocations: 0 / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.008605, allocations: 0 / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.008607, allocations: 4 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008608, allocations: 0 / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.008718, allocations: 215.8 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-06/0.008726, allocations: 3.953 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.008739, allocations: 8 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.035e-05/0.00877, allocations: 4 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.008804, allocations: 7.984 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.008807, allocations: 0 / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.677e-05/0.008864, allocations: 147.2 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008864, allocations: 0 / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.009026, allocations: 19.94 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008601/0.009886, allocations: 377.5 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.009992, allocations: 35.61 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.009994, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.01002, allocations: 19.69 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.01026, allocations: 23.86 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.01062, allocations: 178.6 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.01067, allocations: 59.34 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.862e-05/0.01071, allocations: 15.97 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.01074, allocations: 16.48 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01074, allocations: 4 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of Templates: time 0.003723/0.01446, allocations: 1.17 MB / 383.7 MB, free: 13.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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: 3.335246582981199]