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.001604/0.001604, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001139/0.001139, allocations: 169.5 kB / 24.99 MB, free: 8.789 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.9874/0.9874, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2517/0.2517, allocations: 32.8 MB / 294.6 MB, free: 1.277 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.703e-06/1.703e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.839e-05, allocations: 6.312 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002355/0.002384, allocations: 1.65 MB / 377.7 MB, free: 3.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007273/0.003111, allocations: 0.5219 MB / 378.2 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.003164, allocations: 4 kB / 378.2 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.003608, allocations: 463 kB / 378.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000382/0.00399, allocations: 283.3 kB / 378.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.004247, allocations: 123.6 kB / 379 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.004461, allocations: 171.6 kB / 379.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.092e-05/0.004552, allocations: 12.17 kB / 379.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.004676, allocations: 115.8 kB / 379.3 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.004858, allocations: 231.6 kB / 379.6 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.004872, allocations: 4 kB / 379.6 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.122e-05/0.004933, allocations: 27.94 kB / 379.6 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.506e-05/0.005018, allocations: 87.69 kB / 379.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.005055, allocations: 35.75 kB / 379.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.005249, allocations: 183.2 kB / 379.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.005253, allocations: 3.984 kB / 379.9 MB, free: 1.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005254, allocations: 0 / 379.9 MB, free: 1.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.005259, allocations: 0 / 379.9 MB, free: 1.07 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.0005278/0.005787, allocations: 0.6854 MB / 380.6 MB, free: 356 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.005827, allocations: 12.03 kB / 380.6 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.005886, allocations: 48.59 kB / 380.6 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.006079, allocations: 236.9 kB / 380.9 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.00609, allocations: 4.375 kB / 380.9 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.006099, allocations: 4.375 kB / 380.9 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.006227, allocations: 62.88 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.006233, allocations: 192 / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.006244, allocations: 3.938 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.006251, allocations: 0 / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.333e-05/0.006274, allocations: 4 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.006707, allocations: 415.7 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.156e-05/0.006768, allocations: 38.92 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.00679, allocations: 19.75 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.006812, allocations: 0 / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.006836, allocations: 37.39 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.006837, allocations: 0 / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001861/0.007023, allocations: 73.42 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.007058, allocations: 63.33 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.007481, allocations: 0.6277 MB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.007493, allocations: 25.7 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.007629, allocations: 282.8 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.007646, allocations: 3.953 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.007678, allocations: 31.48 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.00783, allocations: 0.547 MB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.007844, allocations: 0 / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.007856, allocations: 4 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.08e-05/0.007887, allocations: 11.69 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007889, allocations: 0 / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.044e-05/0.007969, allocations: 89.28 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.007984, allocations: 8 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.007988, allocations: 0 / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.008001, allocations: 96 / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.00808, allocations: 12 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.008084, allocations: 0 / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.008109, allocations: 3.984 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.008114, allocations: 0 / 383.2 MB, free: 13.54 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 7.849e-05/0.008193, allocations: 156.6 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.008234, allocations: 47.59 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.008358, allocations: 76.75 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.00836, allocations: 0 / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.008364, allocations: 0 / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.008369, allocations: 8.016 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.008579, allocations: 276.5 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.00858, allocations: 0 / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.008609, allocations: 11.88 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.008613, allocations: 3.984 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.008619, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.008622, allocations: 4 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008623, allocations: 0 / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.008752, allocations: 223.7 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.008776, allocations: 39.66 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.008792, allocations: 32 / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.737e-05/0.008829, allocations: 4 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.008844, allocations: 4 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.008849, allocations: 3.984 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002569/0.009106, allocations: 422.8 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009106, allocations: 0 / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.009278, allocations: 23.94 kB / 384.5 MB, free: 12.19 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.0007141/0.009992, allocations: 338 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.213e-05/0.01007, allocations: 19.67 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.01008, allocations: 4 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/0.01009, allocations: 11.69 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.01034, allocations: 21.95 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/0.01093, allocations: 0.5614 MB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.635e-05/0.011, allocations: 115.3 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.699e-05/0.01102, allocations: 11.97 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.01105, allocations: 12.5 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01105, allocations: 4 kB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of Templates: time 0.003594/0.01464, allocations: 1.154 MB / 386.7 MB, free: 10.01 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: 3.1719450829550624]