Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001096/0.001096, allocations: 80.8 kB / 21.5 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.0009139/0.0009139, allocations: 172.4 kB / 24.91 MB, free: 8.266 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.9428/0.9428, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2436/0.2436, allocations: 32.8 MB / 294.6 MB, free: 1.258 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.291e-05, allocations: 4.984 kB / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002077/0.002099, allocations: 1.698 MB / 324.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005922/0.002692, allocations: 0.8065 MB / 325.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.002723, allocations: 0 / 325.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.002921, allocations: 27.78 kB / 325.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.00308, allocations: 47.7 kB / 325.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.826e-06/0.003083, allocations: 0 / 325.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.003195, allocations: 43.83 kB / 325.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.954e-05/0.003225, allocations: 0 / 325.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.003288, allocations: 15.97 kB / 325.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.445e-05/0.003313, allocations: 11.94 kB / 325.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.625e-06/0.00332, allocations: 0 / 325.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.705e-05/0.003358, allocations: 15.98 kB / 325.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.003394, allocations: 15.94 kB / 325.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.471e-05/0.003408, allocations: 7.938 kB / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.52e-05/0.003504, allocations: 55.7 kB / 326 MB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003506, allocations: 0 / 326 MB, free: 6.945 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003506, allocations: 4 kB / 326 MB, free: 6.941 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.224e-06/0.003508, allocations: 0 / 326 MB, free: 6.941 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002058/0.003714, allocations: 265.9 kB / 326.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.003744, allocations: 12.03 kB / 326.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.009e-05/0.003764, allocations: 0.9375 kB / 326.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.003864, allocations: 125.7 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-06/0.00387, allocations: 4.312 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.003877, allocations: 384 / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.186e-05/0.003968, allocations: 102.1 kB / 326.5 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.003975, allocations: 4.188 kB / 326.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.003982, allocations: 4.359 kB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.004017, allocations: 28.3 kB / 326.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/0.004043, allocations: 35.84 kB / 326.5 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.004373, allocations: 0.7645 MB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.497e-05/0.004428, allocations: 169.1 kB / 327.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.004449, allocations: 80.14 kB / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.004465, allocations: 75.28 kB / 327.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.004498, allocations: 113.9 kB / 327.7 MB, free: 5.043 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.004499, allocations: 3.938 kB / 327.7 MB, free: 5.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 4.026e-05/0.004539, allocations: 33.69 kB / 327.8 MB, free: 5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.004578, allocations: 126.7 kB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.712e-05/0.004676, allocations: 181 kB / 328.1 MB, free: 4.676 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.004683, allocations: 25.7 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.004741, allocations: 151.5 kB / 328.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.004743, allocations: 0 / 328.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.004779, allocations: 49.64 kB / 328.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.004847, allocations: 314.8 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.004859, allocations: 11.98 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.368e-05/0.004923, allocations: 139.8 kB / 328.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.005191, allocations: 179.8 kB / 328.9 MB, free: 3.676 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005193, allocations: 0 / 328.9 MB, free: 3.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001425/0.005336, allocations: 141.4 kB / 329.1 MB, free: 3.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.005346, allocations: 8 kB / 329.1 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.005351, allocations: 4 kB / 329.1 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.005361, allocations: 4 kB / 329.1 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.435e-05/0.005436, allocations: 35.92 kB / 329.1 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.005443, allocations: 19.86 kB / 329.1 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.00549, allocations: 16.36 kB / 329.1 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.005498, allocations: 16 kB / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 6.593e-05/0.005564, allocations: 207.8 kB / 329.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.005597, allocations: 105 kB / 329.5 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.888e-05/0.005656, allocations: 112.7 kB / 329.6 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-05/0.005693, allocations: 188.2 kB / 329.8 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.484e-05/0.005727, allocations: 184.3 kB / 329.9 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-05/0.005763, allocations: 184.2 kB / 330.1 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.005936, allocations: 329.4 kB / 330.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/0.005958, allocations: 104.9 kB / 330.5 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.005981, allocations: 101 kB / 330.6 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.412e-05/0.006015, allocations: 188.2 kB / 330.8 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.006048, allocations: 176.3 kB / 331 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.738e-05/0.006086, allocations: 184.2 kB / 331.2 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.88e-05/0.006124, allocations: 188.2 kB / 331.4 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.62e-05/0.006211, allocations: 303.7 kB / 331.7 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.006241, allocations: 116.9 kB / 331.8 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.006285, allocations: 180.3 kB / 332 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.613e-05/0.006331, allocations: 108.9 kB / 332.1 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.00637, allocations: 180.3 kB / 332.2 MB, free: 188 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002732/0.006643, allocations: 108.9 kB / 332.3 MB, free: 72 kB / 298.7 MB Notification: Performance of sorting global known variables: time 2.902e-05/0.006672, allocations: 34.34 kB / 332.4 MB, free: 36 kB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006672, allocations: 4 kB / 332.4 MB, free: 32 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.006821, allocations: 19.95 kB / 332.4 MB, free: 12 kB / 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 (0): * Single equations (assignments): 0 * 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.0005422/0.007364, allocations: 301.7 kB / 332.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.93e-05/0.007443, allocations: 65.58 kB / 332.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.007449, allocations: 320 / 332.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.00745, allocations: 4 kB / 332.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.007631, allocations: 464.2 kB / 333.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/0.007842, allocations: 229.7 kB / 333.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.319e-05/0.007875, allocations: 71.83 kB / 333.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.581e-05/0.007921, allocations: 13.14 kB / 333.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.007956, allocations: 63.31 kB / 333.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of SimCode: time 4.5e-07/0.007956, allocations: 0 / 333.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of Templates: time 0.001967/0.009923, allocations: 0.7797 MB / 334.4 MB, free: 14.09 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.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.8101176619529724]