Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.0009534/0.0009534, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.000952/0.000952, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 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.945/0.945, allocations: 177.1 MB / 205 MB, free: 5.633 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.2829/0.2829, allocations: 34.26 MB / 295.7 MB, free: 0.75 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.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.821e-05, allocations: 2.312 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002056/0.002074, allocations: 1.653 MB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007326/0.002807, allocations: 0.5453 MB / 380.3 MB, free: 412 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.002856, allocations: 4 kB / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.003107, allocations: 79.69 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.003378, allocations: 103.5 kB / 380.4 MB, free: 224 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.003612, allocations: 115.6 kB / 380.6 MB, free: 108 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.003761, allocations: 75.83 kB / 380.6 MB, free: 32 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.133e-05/0.003853, allocations: 23.97 kB / 380.7 MB, free: 8 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.679e-05/0.003929, allocations: 47.86 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.023e-05/0.00402, allocations: 51.84 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.004034, allocations: 7.938 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.42e-05/0.004108, allocations: 47.91 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.004152, allocations: 19.92 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.00418, allocations: 15.94 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.004321, allocations: 87.66 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.004323, allocations: 0 / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.004325, allocations: 4 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.00433, allocations: 4 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003999/0.00473, allocations: 447.8 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.004762, allocations: 8.031 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.004806, allocations: 20.83 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.004947, allocations: 149.1 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.004956, allocations: 384 / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.004974, allocations: 4.375 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.005082, allocations: 54.95 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.005092, allocations: 4.188 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.005102, allocations: 4.125 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.005109, allocations: 4 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.405e-05/0.005143, allocations: 19.92 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.005428, allocations: 295.7 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.211e-05/0.00549, allocations: 43.05 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.005514, allocations: 15.62 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.005531, allocations: 0 / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.005555, allocations: 41.33 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.11e-07/0.005556, allocations: 0 / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004893/0.006045, allocations: 177.3 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.006076, allocations: 55.41 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.006211, allocations: 238.4 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.006222, allocations: 25.7 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.006277, allocations: 154.9 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.006305, allocations: 27.73 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.006345, allocations: 31.31 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.006455, allocations: 0.5 MB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.006476, allocations: 8 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.006495, allocations: 11.98 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.911e-05/0.006544, allocations: 39.62 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.006545, allocations: 0 / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.085e-05/0.006636, allocations: 81.66 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.006648, allocations: 8 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.006653, allocations: 0 / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.006668, allocations: 3.984 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-05/0.006739, allocations: 12 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.006744, allocations: 0 / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.951e-05/0.006764, allocations: 7.984 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.006771, allocations: 8 kB / 383.4 MB, free: 13.05 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 (8): * Single equations (assignments): 8 * 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.035e-05/0.006831, allocations: 164.5 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.006854, allocations: 19.91 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.006975, allocations: 79.14 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.006977, allocations: 432 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.00698, allocations: 0 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.006984, allocations: 7.984 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.007264, allocations: 377.4 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007265, allocations: 0 / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/0.007301, allocations: 19.92 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.007304, allocations: 3.984 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.007311, allocations: 12.03 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.007313, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007314, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.007434, allocations: 235.5 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-06/0.007443, allocations: 11.94 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.007456, allocations: 4 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/0.00749, allocations: 4 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.007521, allocations: 11.92 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.007525, allocations: 4 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.282e-05/0.007598, allocations: 171.1 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007598, allocations: 4 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001631/0.007761, allocations: 23.88 kB / 384.5 MB, free: 11.84 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008938/0.008655, allocations: 441.9 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.008763, allocations: 43.64 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.008764, allocations: 4 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.032e-05/0.008794, allocations: 27.62 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.009001, allocations: 19.94 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.009351, allocations: 241.9 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.114e-05/0.009392, allocations: 71.33 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.022e-05/0.009432, allocations: 21.02 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.009459, allocations: 20.44 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.00946, allocations: 0 / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Templates: time 0.00311/0.01257, allocations: 1.505 MB / 386.9 MB, free: 9.578 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.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.0602971860207617]