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.002463/0.002463, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002928/0.002928, allocations: 165.3 kB / 24.27 MB, free: 152 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.624/1.624, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.371/0.371, allocations: 32.8 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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 2.024e-06/2.024e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.935e-05/4.138e-05, allocations: 10.25 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.004386/0.004427, allocations: 1.627 MB / 376.9 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.005989, allocations: 0.5258 MB / 377.4 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.006046, allocations: 0 / 377.4 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000959/0.007005, allocations: 459 kB / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008295/0.007834, allocations: 295.2 kB / 378.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.00839, allocations: 115.7 kB / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003664/0.008756, allocations: 175.6 kB / 378.5 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.008863, allocations: 7.984 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.009135, allocations: 119.8 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004422/0.009577, allocations: 239.6 kB / 378.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.009614, allocations: 4 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.009738, allocations: 31.86 kB / 378.8 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.009906, allocations: 87.7 kB / 378.9 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.009983, allocations: 35.73 kB / 379 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.01046, allocations: 231.1 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.01047, allocations: 0 / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01047, allocations: 0 / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.01047, allocations: 3.938 kB / 379.2 MB, free: 1.02 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.001033/0.01151, allocations: 0.7124 MB / 379.9 MB, free: 276 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.01154, allocations: 8.031 kB / 379.9 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.2e-05/0.01162, allocations: 48.59 kB / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.01205, allocations: 247.1 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.01207, allocations: 384 / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.01208, allocations: 4.375 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.01227, allocations: 50.25 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.01228, allocations: 192 / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.01229, allocations: 1.875 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.01229, allocations: 0 / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.01244, allocations: 27.98 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000888/0.01332, allocations: 459.6 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.01351, allocations: 47.05 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.951e-05/0.01361, allocations: 19.69 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.01363, allocations: 0 / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.01367, allocations: 33.39 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.01368, allocations: 0 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003538/0.01403, allocations: 117.4 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.01408, allocations: 55.41 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.01529, allocations: 0.6784 MB / 381.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.01532, allocations: 25.7 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.01574, allocations: 294.8 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.01578, allocations: 15.89 kB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.258e-05/0.01585, allocations: 19.38 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005046/0.01635, allocations: 0.5665 MB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-05/0.01644, allocations: 15.98 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-05/0.0165, allocations: 7.984 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.01666, allocations: 43.94 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01666, allocations: 0 / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002952/0.01696, allocations: 101.3 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.01698, allocations: 7.938 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01698, allocations: 0 / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.017, allocations: 3.984 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.0171, allocations: 8 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.01712, allocations: 3.938 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/0.01719, allocations: 0 / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.0172, allocations: 4 kB / 382.8 MB, free: 13.22 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 0.0001765/0.01738, allocations: 164.6 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-05/0.01747, allocations: 43.72 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000316/0.01779, allocations: 97.05 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01779, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.0178, allocations: 3.984 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.01781, allocations: 7.938 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/0.01845, allocations: 312.5 kB / 383.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.01846, allocations: 4 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.677e-05/0.01853, allocations: 8 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01854, allocations: 4 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.01856, allocations: 4 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01856, allocations: 0 / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01856, allocations: 0 / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.01885, allocations: 251.5 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.01891, allocations: 39.7 kB / 383.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.01894, allocations: 4 kB / 383.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.01901, allocations: 0 / 383.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.01904, allocations: 4 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.01904, allocations: 0 / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007441/0.01979, allocations: 450.7 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01979, allocations: 0 / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004412/0.02023, allocations: 16 kB / 384.2 MB, free: 11.76 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.003496/0.02372, allocations: 376.6 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.024, allocations: 43.64 kB / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.02401, allocations: 0 / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.02412, allocations: 23.62 kB / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005668/0.02468, allocations: 29.08 kB / 384.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.02615, allocations: 0.573 MB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.02652, allocations: 200.2 kB / 385.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.471e-05/0.02658, allocations: 19.91 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.02663, allocations: 12.5 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of SimCode: time 9.01e-07/0.02663, allocations: 0 / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of Templates: time 0.007543/0.03418, allocations: 1.14 MB / 386.6 MB, free: 9.457 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.044825716991909]