Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001054/0.001054, allocations: 72.89 kB / 21.49 MB, free: 2.836 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.001179/0.001179, allocations: 167.4 kB / 24.91 MB, free: 9.254 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.9801/0.9801, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.81 MB / 294.6 MB, free: 1.164 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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 323.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.303e-05, allocations: 7.125 kB / 323.2 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001912/0.001925, allocations: 1.62 MB / 324.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.003103, allocations: 1.293 MB / 326.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.003149, allocations: 0 / 326.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.003327, allocations: 19.86 kB / 326.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.003563, allocations: 91.48 kB / 326.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.003741, allocations: 95.62 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.00391, allocations: 67.83 kB / 326.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.458e-05/0.003975, allocations: 7.984 kB / 326.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.004025, allocations: 31.91 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.603e-05/0.004111, allocations: 27.91 kB / 326.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.004124, allocations: 8 kB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.004243, allocations: 95.75 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.319e-05/0.004276, allocations: 11.98 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.004298, allocations: 11.94 kB / 326.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.004455, allocations: 135.5 kB / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.004456, allocations: 0 / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004457, allocations: 0 / 326.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.796e-06/0.004459, allocations: 3.938 kB / 326.8 MB, free: 6.105 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002778/0.004737, allocations: 305.5 kB / 327.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.004766, allocations: 8.031 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.004791, allocations: 4.938 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.004909, allocations: 131.4 kB / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-06/0.004917, allocations: 4.375 kB / 327.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.004934, allocations: 4.375 kB / 327.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.769e-05/0.005032, allocations: 98.36 kB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.005039, allocations: 192 / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.005046, allocations: 8.062 kB / 327.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.005051, allocations: 4 kB / 327.3 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.784e-05/0.005069, allocations: 4 kB / 327.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.005247, allocations: 167.6 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.005355, allocations: 34.58 kB / 327.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.005371, allocations: 16.98 kB / 327.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.005386, allocations: 7.938 kB / 327.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.005402, allocations: 34.5 kB / 327.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.005403, allocations: 0 / 327.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002204/0.005623, allocations: 81.53 kB / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.005654, allocations: 77.11 kB / 327.7 MB, free: 5.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.005734, allocations: 142.7 kB / 327.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.005743, allocations: 29.7 kB / 327.9 MB, free: 4.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.005772, allocations: 92.08 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.005788, allocations: 23.83 kB / 328 MB, free: 4.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.005812, allocations: 17.72 kB / 328 MB, free: 4.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.005993, allocations: 318.8 kB / 328.3 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-06/0.006002, allocations: 4 kB / 328.3 MB, free: 4.355 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.006026, allocations: 47.41 kB / 328.4 MB, free: 4.297 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.29e-05/0.006049, allocations: 16.84 kB / 328.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.00605, allocations: 0 / 328.4 MB, free: 4.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.948e-05/0.0061, allocations: 57.56 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.006108, allocations: 4 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.006112, allocations: 3.984 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.00612, allocations: 0 / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.084e-05/0.00615, allocations: 12.28 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-06/0.006153, allocations: 0 / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.00617, allocations: 8 kB / 328.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.006174, allocations: 3.984 kB / 328.5 MB, free: 4.184 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 (5): * Single equations (assignments): 5 * 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 4.642e-05/0.006221, allocations: 116.7 kB / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.006238, allocations: 7.938 kB / 328.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.963e-05/0.006308, allocations: 62.08 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.00631, allocations: 0 / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.006311, allocations: 0 / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.006313, allocations: 4 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.006469, allocations: 210.8 kB / 328.9 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.006471, allocations: 3.938 kB / 328.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.332e-05/0.006494, allocations: 15.92 kB / 328.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006495, allocations: 0 / 328.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-06/0.006499, allocations: 4 kB / 328.9 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.0065, allocations: 0 / 328.9 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006501, allocations: 0 / 328.9 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.869e-05/0.006559, allocations: 143.5 kB / 329 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-06/0.006569, allocations: 15.88 kB / 329.1 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.006579, allocations: 4 kB / 329.1 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.069e-05/0.00661, allocations: 8 kB / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.006628, allocations: 4 kB / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.006631, allocations: 3.984 kB / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.811e-05/0.006659, allocations: 34.47 kB / 329.1 MB, free: 3.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006659, allocations: 0 / 329.1 MB, free: 3.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.006818, allocations: 35.88 kB / 329.2 MB, free: 3.465 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 (5): * Single equations (assignments): 5 * 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.001253/0.008071, allocations: 0.6294 MB / 329.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.296e-05/0.008134, allocations: 20.84 kB / 329.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.008136, allocations: 4 kB / 329.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.008153, allocations: 20.84 kB / 329.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.008283, allocations: 30.36 kB / 329.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.008502, allocations: 162.5 kB / 330 MB, free: 2.887 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.788e-05/0.00853, allocations: 55.36 kB / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.036e-05/0.00856, allocations: 11.98 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.008613, allocations: 67.3 kB / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008614, allocations: 0 / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of Templates: time 0.003238/0.01185, allocations: 2.001 MB / 332.1 MB, free: 0.7461 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.0058871121145785]