Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001018/0.001018, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001038/0.001038, allocations: 166.2 kB / 24.99 MB, free: 8.336 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.9782/0.9782, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2602/0.2602, allocations: 32.82 MB / 294.6 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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.097e-06/4.097e-06, allocations: 4 kB / 376 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.325e-05, allocations: 6.25 kB / 376 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003313/0.003346, allocations: 1.668 MB / 377.7 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000996/0.004342, allocations: 0.5181 MB / 378.2 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.091e-05/0.004413, allocations: 4 kB / 378.2 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007541/0.005167, allocations: 455 kB / 378.6 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005075/0.005675, allocations: 291.3 kB / 378.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.005976, allocations: 131.6 kB / 379.1 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.006204, allocations: 167.6 kB / 379.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.006307, allocations: 11.98 kB / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.006426, allocations: 111.8 kB / 379.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.006621, allocations: 247.6 kB / 379.6 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.006637, allocations: 4 kB / 379.6 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.523e-05/0.006702, allocations: 23.94 kB / 379.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.293e-05/0.006795, allocations: 87.7 kB / 379.7 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.006838, allocations: 31.75 kB / 379.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.007097, allocations: 199.1 kB / 379.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.007102, allocations: 0 / 379.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.007105, allocations: 0 / 379.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.007111, allocations: 0 / 379.9 MB, free: 1.074 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.0006826/0.007794, allocations: 0.6854 MB / 380.6 MB, free: 360 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.007844, allocations: 8.031 kB / 380.6 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.785e-05/0.007922, allocations: 48.66 kB / 380.7 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.008154, allocations: 248.8 kB / 380.9 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.008165, allocations: 384 / 380.9 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.008176, allocations: 12.31 kB / 380.9 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.008333, allocations: 58.94 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.008341, allocations: 192 / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.008352, allocations: 4.125 kB / 381 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.008362, allocations: 4 kB / 381 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.831e-05/0.00839, allocations: 4 kB / 381 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.008913, allocations: 415.8 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.809e-05/0.008991, allocations: 38.98 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.009016, allocations: 7.688 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.009043, allocations: 16.02 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.009067, allocations: 37.39 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.009068, allocations: 0 / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001829/0.009251, allocations: 85.41 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.009286, allocations: 59.34 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.009698, allocations: 0.6277 MB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.009708, allocations: 25.7 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.009852, allocations: 290.7 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.009871, allocations: 7.953 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.0099, allocations: 19.38 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.01005, allocations: 0.5509 MB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.01007, allocations: 7.984 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.262e-05/0.01008, allocations: 4 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.345e-05/0.01012, allocations: 15.69 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01012, allocations: 0 / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.977e-05/0.01021, allocations: 93.28 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.01022, allocations: 4 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.01022, allocations: 0 / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.01024, allocations: 0 / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.01032, allocations: 15.98 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01033, allocations: 0 / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.01035, allocations: 11.94 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.01036, allocations: 0 / 383.3 MB, free: 13.49 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 8.827e-05/0.01045, allocations: 156.6 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.01049, allocations: 51.61 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.01064, allocations: 85.09 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01064, allocations: 0 / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.01065, allocations: 0 / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01065, allocations: 0 / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.01091, allocations: 276.5 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01091, allocations: 0 / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.01095, allocations: 15.94 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01095, allocations: 3.938 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.01096, allocations: 0 / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.01096, allocations: 3.984 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01097, allocations: 0 / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.01111, allocations: 232 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.01114, allocations: 35.72 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.01116, allocations: 7.938 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.049e-05/0.0112, allocations: 0 / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.01122, allocations: 4.031 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.01123, allocations: 11.98 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002631/0.01149, allocations: 426.8 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01149, allocations: 3.938 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001967/0.01168, allocations: 19.98 kB / 384.6 MB, free: 12.11 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.0007972/0.01248, allocations: 338.6 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.858e-05/0.01257, allocations: 23.66 kB / 384.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01257, allocations: 0 / 384.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.729e-05/0.01259, allocations: 19.67 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.01284, allocations: 25.97 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.01344, allocations: 0.5612 MB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.235e-05/0.01351, allocations: 123.2 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.913e-05/0.01354, allocations: 11.98 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.01357, allocations: 8.5 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01357, allocations: 4 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of Templates: time 0.003659/0.01723, allocations: 1.182 MB / 386.9 MB, free: 9.887 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/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.2125012108590454]