Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.0011/0.0011, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001165/0.001165, allocations: 165 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 1.031/1.031, allocations: 177.1 MB / 205 MB, free: 5.59 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.2526/0.2526, allocations: 34.26 MB / 295.7 MB, free: 0.7617 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 3.938 kB / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.669e-05, allocations: 5.266 kB / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002155/0.002172, allocations: 1.704 MB / 379.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.003367, allocations: 1.289 MB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.003423, allocations: 0 / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.003628, allocations: 23.8 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.003912, allocations: 91.48 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.00414, allocations: 135.6 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.004266, allocations: 67.78 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.004349, allocations: 11.98 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.055e-05/0.00441, allocations: 43.89 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.547e-05/0.004495, allocations: 23.91 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.004512, allocations: 8 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.004639, allocations: 103.7 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.004691, allocations: 11.98 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.004716, allocations: 19.92 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.00491, allocations: 139.5 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004913, allocations: 0 / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004913, allocations: 0 / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.004917, allocations: 0 / 381.7 MB, free: 14.96 MB / 362.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.0003994/0.005316, allocations: 439.9 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.005352, allocations: 8.031 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.005393, allocations: 12.89 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.005525, allocations: 132.5 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.005534, allocations: 4.375 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.005558, allocations: 4.375 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.005698, allocations: 116 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.005706, allocations: 192 / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.005716, allocations: 8.062 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.005723, allocations: 0 / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/0.005758, allocations: 15.98 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002721/0.00603, allocations: 275.7 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.57e-05/0.006096, allocations: 39.05 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/0.006124, allocations: 27.48 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.006144, allocations: 4 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.006165, allocations: 33.48 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.006166, allocations: 4 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003619/0.006528, allocations: 133.4 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.006562, allocations: 81.11 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.006671, allocations: 191.5 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.006681, allocations: 29.7 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.006732, allocations: 142.8 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.006752, allocations: 23.92 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.006785, allocations: 27.36 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003827/0.007167, allocations: 0.4884 MB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.007188, allocations: 11.98 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.708e-05/0.007225, allocations: 57.06 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.563e-05/0.007271, allocations: 39.56 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.007272, allocations: 4 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.273e-05/0.007355, allocations: 65.64 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.007367, allocations: 4 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.007371, allocations: 0 / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.007385, allocations: 0 / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.871e-05/0.007464, allocations: 19.98 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.007469, allocations: 0 / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.007496, allocations: 12.03 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.007502, allocations: 3.984 kB / 384.1 MB, free: 12.3 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 (7): * Single equations (assignments): 7 * 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.287e-05/0.007565, allocations: 164.5 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.007588, allocations: 15.91 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.007713, allocations: 78.38 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.007715, allocations: 4 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.007718, allocations: 0 / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007721, allocations: 0 / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.007954, allocations: 337.7 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.007956, allocations: 4 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.007996, allocations: 19.98 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007997, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.008005, allocations: 7.938 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.008006, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.008011, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.008122, allocations: 227.9 kB / 385 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.008132, allocations: 11.88 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.008144, allocations: 0 / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.787e-05/0.008182, allocations: 8 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.008213, allocations: 7.984 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.008217, allocations: 8 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.86e-05/0.008276, allocations: 149.3 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008276, allocations: 0 / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.008461, allocations: 35.88 kB / 385.2 MB, free: 11.16 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 (7): * Single equations (assignments): 7 * 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.001011/0.009472, allocations: 495 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.009586, allocations: 43.66 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.009587, allocations: 0 / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.009616, allocations: 31.55 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.00981, allocations: 27.86 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.01013, allocations: 190.4 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.497e-05/0.01017, allocations: 64.05 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.117e-05/0.01021, allocations: 15.98 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.01024, allocations: 16.5 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01024, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003433/0.01368, allocations: 1.982 MB / 388 MB, free: 8.453 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.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.4246131451800466]