Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009504/0.0009504, 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.0009632/0.0009632, allocations: 169.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.9573/0.9573, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2546/0.2546, allocations: 34.26 MB / 296.1 MB, free: 0.6797 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.402e-05, allocations: 3.812 kB / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002211/0.002235, allocations: 1.694 MB / 327 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007101/0.002945, allocations: 0.5568 MB / 327.6 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.002997, allocations: 3.938 kB / 327.6 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.003429, allocations: 459.1 kB / 328 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.003764, allocations: 291.1 kB / 328.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.004071, allocations: 163.6 kB / 328.5 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.004262, allocations: 171.6 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.459e-05/0.004336, allocations: 11.97 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.004437, allocations: 111.8 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.004589, allocations: 203.6 kB / 328.9 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.004603, allocations: 4 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.454e-05/0.004657, allocations: 19.94 kB / 329 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.559e-05/0.004733, allocations: 95.62 kB / 329.1 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.004768, allocations: 32.25 kB / 329.1 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.004947, allocations: 191.2 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.00495, allocations: 3.984 kB / 329.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00495, allocations: 0 / 329.3 MB, free: 3.645 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.004954, allocations: 4 kB / 329.3 MB, free: 3.641 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.0003934/0.005347, allocations: 0.5347 MB / 329.8 MB, free: 3.082 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.005375, allocations: 8.031 kB / 329.8 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.005409, allocations: 20.92 kB / 329.9 MB, free: 3.055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.005582, allocations: 242 kB / 330.1 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.005591, allocations: 8.375 kB / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-06/0.005597, allocations: 384 / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.828e-05/0.005675, allocations: 54.94 kB / 330.1 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.005682, allocations: 4.125 kB / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.005689, allocations: 8.125 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.005694, allocations: 4 kB / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.005713, allocations: 7.938 kB / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002259/0.005938, allocations: 191.2 kB / 330.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.221e-05/0.005971, allocations: 18.58 kB / 330.4 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.196e-05/0.005983, allocations: 8.797 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.005995, allocations: 0 / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.006014, allocations: 38.56 kB / 330.4 MB, free: 2.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.006014, allocations: 0 / 330.4 MB, free: 2.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 9.957e-05/0.006114, allocations: 57.66 kB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.006137, allocations: 51.53 kB / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.006429, allocations: 0.5322 MB / 331.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.006438, allocations: 25.7 kB / 331.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.006494, allocations: 149.2 kB / 331.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.006508, allocations: 3.953 kB / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.006532, allocations: 17.72 kB / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.832e-05/0.00662, allocations: 358.6 kB / 331.6 MB, free: 1.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-06/0.006628, allocations: 7.984 kB / 331.6 MB, free: 1.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-06/0.006634, allocations: 0 / 331.6 MB, free: 1.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.441e-05/0.006659, allocations: 11.69 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.00666, allocations: 4.062 kB / 331.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.799e-05/0.006718, allocations: 53.67 kB / 331.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.00673, allocations: 11.94 kB / 331.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.006733, allocations: 0 / 331.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.006744, allocations: 0 / 331.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.231e-05/0.006786, allocations: 7.984 kB / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.006788, allocations: 3.938 kB / 331.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.006808, allocations: 0 / 331.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.006813, allocations: 0 / 331.7 MB, free: 1.059 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 6.044e-05/0.006874, allocations: 112.7 kB / 331.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.006898, allocations: 27.94 kB / 331.8 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.014e-05/0.006988, allocations: 72.75 kB / 331.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.006992, allocations: 7.969 kB / 331.9 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.006994, allocations: 4 kB / 331.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.006997, allocations: 0 / 331.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.00711, allocations: 133.8 kB / 332.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007111, allocations: 0 / 332.1 MB, free: 0.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.007129, allocations: 7.984 kB / 332.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.00713, allocations: 3.938 kB / 332.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-06/0.007134, allocations: 0 / 332.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.007136, allocations: 7.969 kB / 332.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007137, allocations: 0 / 332.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.368e-05/0.007211, allocations: 151.5 kB / 332.2 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.215e-05/0.007233, allocations: 39.7 kB / 332.3 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.007245, allocations: 0 / 332.3 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.503e-05/0.00728, allocations: 11.94 kB / 332.3 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.308e-06/0.007289, allocations: 0 / 332.3 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.007291, allocations: 0 / 332.3 MB, free: 444 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.007455, allocations: 283.2 kB / 332.5 MB, free: 160 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007455, allocations: 0 / 332.5 MB, free: 160 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001313/0.007586, allocations: 23.97 kB / 332.6 MB, free: 136 kB / 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.0008583/0.008445, allocations: 429.4 kB / 333 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.082e-05/0.008495, allocations: 16.73 kB / 333 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/0.008501, allocations: 8.062 kB / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.506e-06/0.00851, allocations: 8.859 kB / 333 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.00869, allocations: 29.89 kB / 333.1 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.009222, allocations: 0.5658 MB / 333.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.852e-05/0.00929, allocations: 119.2 kB / 333.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.862e-05/0.009319, allocations: 7.984 kB / 333.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.009364, allocations: 55.36 kB / 333.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009364, allocations: 0 / 333.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of Templates: time 0.003298/0.01266, allocations: 1.228 MB / 335 MB, free: 13.86 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8725406951270998]