Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001091/0.001091, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001128/0.001128, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.011/1.011, 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.2437/0.2437, allocations: 32.8 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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.874e-05, allocations: 5.578 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003076/0.003105, allocations: 1.655 MB / 324.9 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.004923, allocations: 1.293 MB / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.004982, allocations: 0 / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.00522, allocations: 35.64 kB / 326.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.005559, allocations: 87.55 kB / 326.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.005872, allocations: 111.7 kB / 326.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.006024, allocations: 79.77 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.006123, allocations: 23.91 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.006195, allocations: 35.91 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.006297, allocations: 31.89 kB / 326.6 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.006313, allocations: 4 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003534/0.006667, allocations: 91.83 kB / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.006716, allocations: 19.92 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.006747, allocations: 20.53 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.007, allocations: 143.5 kB / 326.9 MB, free: 6.066 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.007004, allocations: 4 kB / 326.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.007005, allocations: 0 / 326.9 MB, free: 6.062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.007009, allocations: 3.984 kB / 326.9 MB, free: 6.059 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000398/0.007407, allocations: 309.4 kB / 327.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.007439, allocations: 12.03 kB / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.007479, allocations: 12.92 kB / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.007638, allocations: 137.6 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.007649, allocations: 4.375 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.007673, allocations: 4.375 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.007822, allocations: 106.3 kB / 327.4 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.007832, allocations: 192 / 327.4 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.007844, allocations: 8.125 kB / 327.4 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.007849, allocations: 0 / 327.4 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.537e-05/0.007884, allocations: 11.98 kB / 327.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.00818, allocations: 187 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.83e-05/0.008259, allocations: 38.56 kB / 327.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.00828, allocations: 8.859 kB / 327.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.008299, allocations: 0 / 327.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.008323, allocations: 38.62 kB / 327.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.008324, allocations: 8 kB / 327.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003832/0.008707, allocations: 113.5 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.00875, allocations: 81.11 kB / 327.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.00888, allocations: 150.6 kB / 328.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.008895, allocations: 25.7 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.008935, allocations: 92.11 kB / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.008965, allocations: 31.73 kB / 328.2 MB, free: 4.555 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.009005, allocations: 21.7 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.009093, allocations: 318.8 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/0.009117, allocations: 7.984 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.296e-05/0.00917, allocations: 51.41 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.766e-05/0.009228, allocations: 31.66 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.009229, allocations: 0 / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001034/0.009332, allocations: 61.56 kB / 328.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.009346, allocations: 7.938 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.00935, allocations: 0 / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.009364, allocations: 0 / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.386e-05/0.009458, allocations: 19.98 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.009461, allocations: 0 / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.542e-05/0.009496, allocations: 4 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.009504, allocations: 0 / 328.7 MB, free: 4.004 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 (8): * Single equations (assignments): 8 * 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.233e-05/0.009576, allocations: 124.7 kB / 328.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.009609, allocations: 7.938 kB / 328.9 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.009768, allocations: 86.59 kB / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.009771, allocations: 0 / 328.9 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.009772, allocations: 4 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.009775, allocations: 384 / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.01009, allocations: 238.8 kB / 329.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01009, allocations: 4 kB / 329.2 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.98e-05/0.01016, allocations: 19.92 kB / 329.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01017, allocations: 4 kB / 329.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.01017, allocations: 0 / 329.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01018, allocations: 4 kB / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.01018, allocations: 0 / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.01031, allocations: 155.5 kB / 329.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.01032, allocations: 7.953 kB / 329.4 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.01034, allocations: 4 kB / 329.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.01041, allocations: 3.984 kB / 329.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.01043, allocations: 4 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.01044, allocations: 0 / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.709e-05/0.01049, allocations: 35.66 kB / 329.4 MB, free: 3.254 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0105, allocations: 4 kB / 329.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002889/0.01078, allocations: 39.88 kB / 329.5 MB, free: 3.211 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 (8): * Single equations (assignments): 8 * 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.001824/0.01261, allocations: 0.636 MB / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.01273, allocations: 32.83 kB / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.01273, allocations: 0 / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/0.01277, allocations: 24.78 kB / 330.1 MB, free: 2.828 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.01301, allocations: 23.92 kB / 330.2 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.01344, allocations: 190.8 kB / 330.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.075e-05/0.01349, allocations: 63.34 kB / 330.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.657e-05/0.01355, allocations: 17.03 kB / 330.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.969e-05/0.01365, allocations: 71.34 kB / 330.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01365, allocations: 0 / 330.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of Templates: time 0.005409/0.01906, allocations: 2.114 MB / 332.6 MB, free: 332 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.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.9884999683126807]