Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.00129/0.00129, 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.00137/0.00137, allocations: 161 kB / 24.55 MB, free: 20 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.9886/0.9886, allocations: 177.1 MB / 205 MB, free: 5.621 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.2745/0.2745, allocations: 32.82 MB / 294.3 MB, free: 1.289 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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.095e-05, allocations: 5.406 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002483/0.002513, allocations: 1.665 MB / 377.7 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008183/0.003332, allocations: 0.553 MB / 378.2 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.003404, allocations: 4 kB / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.003898, allocations: 451.1 kB / 378.7 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.004319, allocations: 307.1 kB / 379 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.004681, allocations: 171.5 kB / 379.2 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.004918, allocations: 171.7 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.005022, allocations: 4 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.005139, allocations: 123.8 kB / 379.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.005342, allocations: 247.5 kB / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.00536, allocations: 0 / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.595e-05/0.005436, allocations: 27.92 kB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.457e-05/0.00553, allocations: 91.64 kB / 379.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.005578, allocations: 35.75 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.005802, allocations: 187.2 kB / 380 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.005806, allocations: 0 / 380 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005807, allocations: 0 / 380 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.005813, allocations: 0 / 380 MB, free: 0.6602 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.0006396/0.006453, allocations: 0.7005 MB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.006495, allocations: 8.031 kB / 380.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.006563, allocations: 44.66 kB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.006781, allocations: 240.9 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.006793, allocations: 8.375 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.006805, allocations: 4.375 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.006942, allocations: 50.95 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.006954, allocations: 4.125 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.006967, allocations: 4.562 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.006977, allocations: 3.938 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.00701, allocations: 15.92 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.007509, allocations: 431.6 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.304e-05/0.007602, allocations: 35.06 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.007631, allocations: 15.69 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.00766, allocations: 4.078 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.007689, allocations: 41.33 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 3.156e-06/0.007693, allocations: 7.922 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002029/0.007896, allocations: 89.41 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.007935, allocations: 51.41 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/0.008355, allocations: 0.6277 MB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.00837, allocations: 25.7 kB / 382.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.008516, allocations: 286.8 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.008536, allocations: 7.906 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.008565, allocations: 23.38 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.008713, allocations: 0.5587 MB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.008729, allocations: 0 / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.327e-05/0.008742, allocations: 4 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/0.008778, allocations: 23.62 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008781, allocations: 0 / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.809e-05/0.008869, allocations: 85.41 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.008884, allocations: 10.44 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.008889, allocations: 0 / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.008907, allocations: 3.984 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.538e-05/0.008982, allocations: 8 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.008988, allocations: 4 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.009014, allocations: 4 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.00902, allocations: 0 / 383.4 MB, free: 13.05 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 (3): * Single equations (assignments): 3 * 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.954e-05/0.009099, allocations: 156.6 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.009138, allocations: 55.59 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.00927, allocations: 81.14 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.009273, allocations: 4 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.009277, allocations: 0 / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.00928, allocations: 0 / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.009485, allocations: 280.5 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.009487, allocations: 8 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.009522, allocations: 7.984 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.009524, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.009532, allocations: 3.938 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.009535, allocations: 4 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.009536, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.009661, allocations: 235.5 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.009689, allocations: 39.66 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.009706, allocations: 3.938 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.703e-05/0.009743, allocations: 3.984 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.009759, allocations: 4.422 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-06/0.009761, allocations: 4 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002451/0.01001, allocations: 430.8 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01001, allocations: 4 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.01017, allocations: 16 kB / 384.7 MB, free: 11.66 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 (3): * Single equations (assignments): 3 * 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.0007491/0.01092, allocations: 328.2 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.885e-05/0.01101, allocations: 19.67 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01101, allocations: 3.938 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.345e-05/0.01102, allocations: 15.69 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.01126, allocations: 30.48 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006066/0.01187, allocations: 0.5782 MB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.855e-05/0.01194, allocations: 115.3 kB / 385.8 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.392e-05/0.01198, allocations: 19.95 kB / 385.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.01201, allocations: 12.5 kB / 385.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.01201, allocations: 0 / 385.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of Templates: time 0.003662/0.01567, allocations: 1.202 MB / 387 MB, free: 9.406 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.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.3087365911342204]