Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.00112/0.00112, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.0009793/0.0009793, allocations: 168.3 kB / 24.91 MB, free: 8.77 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.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2475/0.2475, allocations: 32.82 MB / 294.6 MB, free: 1.242 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 3.938 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.951e-05, allocations: 3.078 kB / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003601/0.00363, allocations: 1.686 MB / 325 MB, free: 7.949 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.00478, allocations: 0.5568 MB / 325.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.004859, allocations: 0 / 325.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006623/0.005522, allocations: 463.1 kB / 326 MB, free: 6.934 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005329/0.006054, allocations: 287.1 kB / 326.3 MB, free: 6.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.006547, allocations: 171.5 kB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.006827, allocations: 163.7 kB / 326.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.006927, allocations: 12.61 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.007126, allocations: 119.7 kB / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.007425, allocations: 199.7 kB / 326.9 MB, free: 6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.00745, allocations: 4 kB / 326.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.562e-05/0.007545, allocations: 23.88 kB / 326.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.007657, allocations: 87.64 kB / 327 MB, free: 5.887 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.007705, allocations: 35.75 kB / 327.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.007989, allocations: 187.2 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.007994, allocations: 0 / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.007996, allocations: 0 / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.008003, allocations: 0 / 327.2 MB, free: 5.668 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006202/0.008623, allocations: 0.5384 MB / 327.8 MB, free: 5.105 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.008664, allocations: 8.031 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.131e-05/0.008725, allocations: 28.84 kB / 327.8 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.008991, allocations: 242.1 kB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.009001, allocations: 4.375 kB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.00901, allocations: 4.312 kB / 328.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.009139, allocations: 58.94 kB / 328.1 MB, free: 4.734 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.009149, allocations: 192 / 328.1 MB, free: 4.734 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.009159, allocations: 4.125 kB / 328.1 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.009165, allocations: 0 / 328.1 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.463e-05/0.009189, allocations: 4 kB / 328.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.009552, allocations: 203 kB / 328.3 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.229e-05/0.009605, allocations: 18.58 kB / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.009633, allocations: 4.859 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.009655, allocations: 4.062 kB / 328.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.009684, allocations: 38.56 kB / 328.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 2.665e-06/0.009686, allocations: 0 / 328.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001605/0.009847, allocations: 61.59 kB / 328.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.009876, allocations: 51.41 kB / 328.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.01037, allocations: 0.5206 MB / 329 MB, free: 3.762 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.01038, allocations: 33.7 kB / 329.1 MB, free: 3.723 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.286e-05/0.01046, allocations: 149.2 kB / 329.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.01049, allocations: 7.938 kB / 329.2 MB, free: 3.562 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.01052, allocations: 13.72 kB / 329.2 MB, free: 3.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.01065, allocations: 354.7 kB / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.01067, allocations: 3.984 kB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.069e-05/0.01068, allocations: 0 / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.797e-05/0.01072, allocations: 11.69 kB / 329.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01072, allocations: 7.938 kB / 329.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.198e-05/0.01081, allocations: 53.73 kB / 329.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.01083, allocations: 11.94 kB / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01083, allocations: 0 / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.01085, allocations: 0 / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.911e-05/0.01093, allocations: 7.984 kB / 329.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.01093, allocations: 3.984 kB / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.01097, allocations: 0 / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.01098, allocations: 8 kB / 329.7 MB, free: 3.07 MB / 298.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 (2): * Single equations (assignments): 2 * 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.86e-05/0.01107, allocations: 112.7 kB / 329.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.01111, allocations: 23.91 kB / 329.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.01125, allocations: 80.7 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01126, allocations: 0 / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.01126, allocations: 7.938 kB / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01126, allocations: 0 / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.01145, allocations: 133.8 kB / 330 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.01145, allocations: 0 / 330 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.0115, allocations: 7.984 kB / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.0115, allocations: 0 / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.0115, allocations: 0 / 330 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.01151, allocations: 3.938 kB / 330 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01151, allocations: 8.031 kB / 330 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.01164, allocations: 147.5 kB / 330.2 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.01168, allocations: 47.67 kB / 330.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.0117, allocations: 4 kB / 330.2 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.872e-05/0.01178, allocations: 3.938 kB / 330.2 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.01179, allocations: 0 / 330.2 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.0118, allocations: 0 / 330.2 MB, free: 2.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002877/0.01209, allocations: 283.2 kB / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01209, allocations: 0 / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.01232, allocations: 19.94 kB / 330.5 MB, free: 2.152 MB / 298.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 (2): * Single equations (assignments): 2 * 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.001398/0.01372, allocations: 436.8 kB / 331 MB, free: 1.953 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.117e-05/0.0138, allocations: 12.84 kB / 331 MB, free: 1.938 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.01381, allocations: 4 kB / 331 MB, free: 1.934 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.39e-05/0.01382, allocations: 12.92 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01411, allocations: 29.89 kB / 331 MB, free: 1.891 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008967/0.015, allocations: 0.571 MB / 331.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.01511, allocations: 119.2 kB / 331.7 MB, free: 1.152 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.353e-05/0.01516, allocations: 4 kB / 331.7 MB, free: 1.148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.01522, allocations: 55.36 kB / 331.8 MB, free: 1.09 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01522, allocations: 4 kB / 331.8 MB, free: 1.086 MB / 298.7 MB Notification: Performance of Templates: time 0.005201/0.02042, allocations: 1.229 MB / 333 MB, free: 15.86 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.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.9245476848445833]