Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.0009253/0.0009253, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0009649/0.0009649, allocations: 172.5 kB / 24.82 MB, free: 9.238 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.9636/0.9636, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2443/0.2443, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 376.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.375e-05, allocations: 5.406 kB / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.001808/0.001822, allocations: 1.662 MB / 378.1 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006127/0.002434, allocations: 0.5141 MB / 378.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.002478, allocations: 0 / 378.7 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.002864, allocations: 455 kB / 379.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.003191, allocations: 299.2 kB / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.003386, allocations: 123.6 kB / 379.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.00354, allocations: 167.6 kB / 379.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.838e-05/0.003608, allocations: 12.17 kB / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.859e-05/0.003707, allocations: 115.8 kB / 379.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.003869, allocations: 231.6 kB / 380 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.003883, allocations: 4 kB / 380 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.514e-05/0.003938, allocations: 23.94 kB / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.004012, allocations: 87.66 kB / 380.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.004041, allocations: 39.72 kB / 380.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.004202, allocations: 183.2 kB / 380.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-06/0.004203, allocations: 0 / 380.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004204, allocations: 0 / 380.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.004207, allocations: 0 / 380.4 MB, free: 0.5039 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.0004787/0.004686, allocations: 0.6891 MB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.00472, allocations: 16.02 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.00476, allocations: 44.66 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.004912, allocations: 240.9 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.00492, allocations: 8.375 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-06/0.004925, allocations: 4.375 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.391e-05/0.004999, allocations: 50.95 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.005005, allocations: 192 / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-06/0.005012, allocations: 11.92 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.005017, allocations: 0 / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.491e-05/0.005032, allocations: 7.984 kB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.0053, allocations: 328.2 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.543e-05/0.005335, allocations: 27.06 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.127e-05/0.005346, allocations: 11.69 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.005363, allocations: 12 kB / 381.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.00538, allocations: 33.39 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 6.92e-07/0.005381, allocations: 0 / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001105/0.005491, allocations: 85.34 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.005513, allocations: 51.41 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.005921, allocations: 0.604 MB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.00593, allocations: 25.7 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.00606, allocations: 298.7 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.006073, allocations: 3.953 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.006099, allocations: 23.38 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.006237, allocations: 0.5509 MB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-06/0.006245, allocations: 3.984 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-06/0.006254, allocations: 8 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.999e-05/0.006274, allocations: 11.69 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.006276, allocations: 0 / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.808e-05/0.006334, allocations: 81.3 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.006345, allocations: 4 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.006349, allocations: 7.984 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.006359, allocations: 3.938 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.419e-05/0.006403, allocations: 8.094 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.006407, allocations: 4 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.006427, allocations: 0 / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.006431, allocations: 0 / 383.6 MB, free: 13.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 6.448e-05/0.006495, allocations: 160.6 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.006525, allocations: 47.66 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.209e-05/0.006607, allocations: 72.73 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006609, allocations: 7.938 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.00661, allocations: 0 / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.006612, allocations: 0 / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.006753, allocations: 197.2 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.006754, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.006767, allocations: 4 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.006768, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.006778, allocations: 7.938 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.006779, allocations: 0 / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.006779, allocations: 0 / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.006993, allocations: 223.7 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.007015, allocations: 35.72 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.007028, allocations: 3.938 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.412e-05/0.007062, allocations: 4.031 kB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.016e-05/0.007072, allocations: 3.984 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-06/0.007075, allocations: 4 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001839/0.007259, allocations: 394.6 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007259, allocations: 0 / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.007414, allocations: 27.92 kB / 384.8 MB, free: 11.84 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.0005867/0.008001, allocations: 326.1 kB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.059e-05/0.008052, allocations: 19.67 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.008053, allocations: 0 / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.959e-06/0.008063, allocations: 11.69 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.008277, allocations: 35.91 kB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.008759, allocations: 0.5535 MB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.369e-05/0.008823, allocations: 119.2 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.171e-05/0.008845, allocations: 7.984 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.008888, allocations: 78.2 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.008889, allocations: 0 / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of Templates: time 0.003048/0.01194, allocations: 1.234 MB / 387.1 MB, free: 9.535 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/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.8229422233998775]