Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.0009418/0.0009418, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009929/0.0009929, allocations: 173 kB / 24.91 MB, free: 8.723 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.9709/0.9709, allocations: 177.1 MB / 205.3 MB, free: 5.094 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2556/0.2556, allocations: 34.25 MB / 296.1 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.525e-05, allocations: 6 kB / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002012/0.002027, allocations: 1.682 MB / 327 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007222/0.002749, allocations: 0.5451 MB / 327.5 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.002792, allocations: 4 kB / 327.5 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.003193, allocations: 455.1 kB / 327.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.003527, allocations: 295.2 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.003773, allocations: 131.5 kB / 328.4 MB, free: 4.578 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.003956, allocations: 167.7 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.508e-05/0.004031, allocations: 15.98 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.004141, allocations: 127.7 kB / 328.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.004307, allocations: 195.6 kB / 328.9 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.004322, allocations: 4 kB / 328.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.265e-05/0.004395, allocations: 27.94 kB / 328.9 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.601e-05/0.004491, allocations: 87.7 kB / 329 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.004535, allocations: 40.23 kB / 329 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.004735, allocations: 191.2 kB / 329.2 MB, free: 3.738 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.004737, allocations: 4 kB / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004737, allocations: 0 / 329.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.237e-06/0.004742, allocations: 0 / 329.2 MB, free: 3.734 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004667/0.005208, allocations: 0.5463 MB / 329.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.005242, allocations: 8.031 kB / 329.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.005278, allocations: 24.91 kB / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.005448, allocations: 238.1 kB / 330 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.005457, allocations: 4.375 kB / 330 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.005475, allocations: 8.328 kB / 330 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.356e-05/0.005558, allocations: 58.92 kB / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.005566, allocations: 192 / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.005575, allocations: 16.12 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.005579, allocations: 0 / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.005598, allocations: 7.938 kB / 330.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.005782, allocations: 168.2 kB / 330.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.005894, allocations: 26.67 kB / 330.3 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.00591, allocations: 12.84 kB / 330.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.005922, allocations: 0 / 330.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.005943, allocations: 38.44 kB / 330.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.005943, allocations: 0 / 330.4 MB, free: 2.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002575/0.006201, allocations: 109.5 kB / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.006234, allocations: 51.41 kB / 330.5 MB, free: 2.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.006559, allocations: 0.5244 MB / 331 MB, free: 1.781 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.006571, allocations: 29.7 kB / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.006625, allocations: 145.2 kB / 331.2 MB, free: 1.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.006644, allocations: 19.78 kB / 331.2 MB, free: 1.578 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.006674, allocations: 17.72 kB / 331.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.006785, allocations: 358.7 kB / 331.6 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.006799, allocations: 7.984 kB / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.063e-05/0.00681, allocations: 0 / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/0.00684, allocations: 20.84 kB / 331.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006841, allocations: 4 kB / 331.6 MB, free: 1.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.787e-05/0.006899, allocations: 65.55 kB / 331.7 MB, free: 1.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.006907, allocations: 4 kB / 331.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.006912, allocations: 4 kB / 331.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.006923, allocations: 0 / 331.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.937e-05/0.006962, allocations: 11.98 kB / 331.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.006965, allocations: 0 / 331.7 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.006989, allocations: 4 kB / 331.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.006993, allocations: 4 kB / 331.7 MB, free: 1.062 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 6.016e-05/0.007053, allocations: 108.7 kB / 331.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.007079, allocations: 31.91 kB / 331.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.433e-05/0.007173, allocations: 89.17 kB / 331.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.007175, allocations: 0 / 331.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.007176, allocations: 320 / 331.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.00718, allocations: 4.266 kB / 331.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.007393, allocations: 270.7 kB / 332.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.007394, allocations: 0 / 332.2 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.00742, allocations: 11.98 kB / 332.2 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.007423, allocations: 3.984 kB / 332.2 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-06/0.007426, allocations: 4 kB / 332.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.007428, allocations: 7.938 kB / 332.2 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007429, allocations: 0 / 332.2 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.591e-05/0.007505, allocations: 167.4 kB / 332.4 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.007526, allocations: 31.72 kB / 332.4 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.007538, allocations: 0 / 332.4 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.007573, allocations: 4 kB / 332.4 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.007592, allocations: 3.984 kB / 332.4 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.007596, allocations: 4 kB / 332.4 MB, free: 280 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001658/0.007762, allocations: 279.2 kB / 332.7 MB, free: 0 / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007762, allocations: 128 / 332.7 MB, free: 16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001342/0.007896, allocations: 35.88 kB / 332.8 MB, free: 15.96 MB / 314.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.0009984/0.008895, allocations: 0.4992 MB / 333.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.773e-05/0.008952, allocations: 28.78 kB / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.008957, allocations: 4 kB / 333.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.611e-05/0.008974, allocations: 12.86 kB / 333.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.009137, allocations: 37.81 kB / 333.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005281/0.009665, allocations: 0.5748 MB / 333.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.989e-05/0.009735, allocations: 119.2 kB / 334 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.579e-05/0.00976, allocations: 16.23 kB / 334 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.009804, allocations: 55.38 kB / 334.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009805, allocations: 0 / 334.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of Templates: time 0.003401/0.01321, allocations: 1.455 MB / 335.5 MB, free: 13.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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.805032038129866]