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.001454/0.001454, 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.001684/0.001684, allocations: 161 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.9626/0.9626, allocations: 177.1 MB / 205 MB, free: 5.613 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.2343/0.2343, allocations: 34.27 MB / 295.7 MB, free: 0.7305 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.703e-06/1.703e-06, allocations: 0 / 378 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.039e-05, allocations: 6.312 kB / 378 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002135/0.002156, allocations: 1.654 MB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008029/0.002959, allocations: 0.5491 MB / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.238e-05/0.003011, allocations: 0 / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004567/0.003468, allocations: 451.1 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.003811, allocations: 299.1 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.004121, allocations: 171.5 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.004343, allocations: 171.6 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.004459, allocations: 8 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.004567, allocations: 119.8 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.004765, allocations: 239.5 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.004785, allocations: 8 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.041e-05/0.004855, allocations: 27.92 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.455e-05/0.00495, allocations: 87.7 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.004992, allocations: 31.75 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.005325, allocations: 187.2 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005327, allocations: 0 / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005327, allocations: 0 / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.005332, allocations: 4 kB / 382 MB, free: 14.63 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005559/0.005888, allocations: 0.6815 MB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.005925, allocations: 11.97 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.005983, allocations: 48.66 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.006182, allocations: 252.8 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.006193, allocations: 8.359 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.006204, allocations: 384 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.006316, allocations: 54.95 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.006323, allocations: 192 / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.006333, allocations: 4.125 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.00634, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.511e-05/0.006365, allocations: 11.94 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.006755, allocations: 411.8 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.54e-05/0.00681, allocations: 31.06 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.006835, allocations: 19.69 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.006856, allocations: 0 / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.006877, allocations: 45.33 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.006878, allocations: 0 / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001581/0.007036, allocations: 81.41 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.007062, allocations: 51.41 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004388/0.007501, allocations: 0.6315 MB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.007515, allocations: 25.7 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.007679, allocations: 290.8 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.0077, allocations: 4.078 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.007731, allocations: 23.38 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.007905, allocations: 0.5547 MB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.007921, allocations: 4 kB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.007937, allocations: 3.938 kB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.007967, allocations: 11.69 kB / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.007969, allocations: 0 / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.51e-05/0.008054, allocations: 93.34 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.008069, allocations: 4 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.008075, allocations: 0 / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.008092, allocations: 4.094 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.128e-05/0.008164, allocations: 4 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.00817, allocations: 0 / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.008194, allocations: 4 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.008201, allocations: 3.938 kB / 385.4 MB, free: 11.07 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 (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 0.0005554/0.008756, allocations: 156.5 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.00879, allocations: 51.64 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.008907, allocations: 72.75 kB / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008908, allocations: 0 / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.008912, allocations: 4.031 kB / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008915, allocations: 4 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.009122, allocations: 276.5 kB / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.009123, allocations: 0 / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.009145, allocations: 7.984 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.009148, allocations: 3.938 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.009156, allocations: 0 / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.009157, allocations: 0 / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.009159, allocations: 0 / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.009272, allocations: 231.6 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.009298, allocations: 39.66 kB / 386.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.009312, allocations: 4.031 kB / 386.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.401e-05/0.009346, allocations: 0 / 386.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.009359, allocations: 0 / 386.2 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.009363, allocations: 4 kB / 386.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002493/0.009612, allocations: 430.8 kB / 386.6 MB, free: 9.746 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009612, allocations: 0 / 386.6 MB, free: 9.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.009774, allocations: 19.94 kB / 386.6 MB, free: 9.727 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 (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.0006908/0.01047, allocations: 335.3 kB / 387 MB, free: 9.516 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.109e-05/0.01055, allocations: 15.67 kB / 387 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01055, allocations: 4 kB / 387 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-05/0.01056, allocations: 15.62 kB / 387 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.0108, allocations: 33.83 kB / 387 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006677/0.01147, allocations: 0.5692 MB / 387.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.478e-05/0.01155, allocations: 119.2 kB / 387.7 MB, free: 8.703 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.305e-05/0.01159, allocations: 7.984 kB / 387.7 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.01162, allocations: 16.44 kB / 387.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01162, allocations: 4 kB / 387.7 MB, free: 8.672 MB / 362.7 MB Notification: Performance of Templates: time 0.003667/0.01528, allocations: 1.154 MB / 388.9 MB, free: 7.531 MB / 362.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 -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: 3.115498648956418]