Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001168/0.001168, allocations: 80.8 kB / 21.49 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.001611/0.001611, allocations: 168.7 kB / 24.91 MB, free: 9.199 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 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2475/0.2475, allocations: 34.26 MB / 296.1 MB, free: 0.7305 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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.395e-05, allocations: 7.016 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003027/0.003051, allocations: 1.657 MB / 326.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.00407, allocations: 0.5491 MB / 327.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.004132, allocations: 0 / 327.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.004488, allocations: 127.6 kB / 327.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.004836, allocations: 135.5 kB / 327.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.005139, allocations: 111.6 kB / 327.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.005319, allocations: 95.73 kB / 327.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.786e-05/0.005417, allocations: 19.98 kB / 327.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.005513, allocations: 55.81 kB / 328 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.005647, allocations: 79.83 kB / 328.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.005663, allocations: 0 / 328.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.005766, allocations: 47.92 kB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/0.005832, allocations: 27.92 kB / 328.2 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.005874, allocations: 19.86 kB / 328.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.006076, allocations: 99.59 kB / 328.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.006079, allocations: 4 kB / 328.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.00608, allocations: 4 kB / 328.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.006085, allocations: 0 / 328.3 MB, free: 4.645 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.0004265/0.006511, allocations: 341.8 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.006545, allocations: 8.031 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.006582, allocations: 8.938 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.006745, allocations: 141.6 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.006758, allocations: 8.375 kB / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.006784, allocations: 384 / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.00689, allocations: 62.92 kB / 328.8 MB, free: 4.031 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.006901, allocations: 4.188 kB / 328.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.006909, allocations: 8.125 kB / 328.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.006914, allocations: 0 / 328.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.767e-05/0.006942, allocations: 11.92 kB / 328.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.007204, allocations: 179.1 kB / 329 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.122e-05/0.007265, allocations: 25.41 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/0.007285, allocations: 12.94 kB / 329.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.007304, allocations: 4 kB / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.007331, allocations: 42.44 kB / 329.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.007333, allocations: 0 / 329.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005238/0.007856, allocations: 153.4 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.007894, allocations: 55.41 kB / 329.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.008061, allocations: 209.2 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.008075, allocations: 29.69 kB / 329.6 MB, free: 3.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.008118, allocations: 100.1 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.008147, allocations: 27.75 kB / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.008184, allocations: 17.7 kB / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.008286, allocations: 330.8 kB / 330 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.008303, allocations: 4 kB / 330 MB, free: 2.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.974e-05/0.008323, allocations: 16 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.797e-05/0.008371, allocations: 35.59 kB / 330.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.008372, allocations: 0 / 330.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.446e-05/0.008456, allocations: 61.83 kB / 330.1 MB, free: 2.621 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.008469, allocations: 8 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.008473, allocations: 0 / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.008485, allocations: 0 / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.008557, allocations: 15.98 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.00856, allocations: 0 / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/0.008586, allocations: 4 kB / 330.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.008594, allocations: 3.984 kB / 330.2 MB, free: 2.59 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 (8): * Single equations (assignments): 8 * 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 7.142e-05/0.008665, allocations: 124.6 kB / 330.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.008697, allocations: 11.94 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.008828, allocations: 75.12 kB / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.008831, allocations: 0 / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.008833, allocations: 0 / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.008835, allocations: 0 / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.009157, allocations: 267.4 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.009159, allocations: 0 / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.009212, allocations: 15.98 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.009215, allocations: 11.97 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.009221, allocations: 0 / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.009222, allocations: 0 / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.009224, allocations: 0 / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.009346, allocations: 168.3 kB / 330.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.009364, allocations: 11.91 kB / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.009379, allocations: 3.938 kB / 330.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.163e-05/0.009441, allocations: 7.984 kB / 330.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.009466, allocations: 0 / 330.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.009474, allocations: 8 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.695e-05/0.009551, allocations: 68.61 kB / 330.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009551, allocations: 7.938 kB / 330.9 MB, free: 1.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.009807, allocations: 20 kB / 331 MB, free: 1.734 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001615/0.01142, allocations: 0.5793 MB / 331.5 MB, free: 1.461 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.01153, allocations: 40.77 kB / 331.6 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.01153, allocations: 4 kB / 331.6 MB, free: 1.414 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.34e-05/0.01157, allocations: 24.78 kB / 331.6 MB, free: 1.387 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.0118, allocations: 15.98 kB / 331.6 MB, free: 1.371 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.01221, allocations: 260.9 kB / 331.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.378e-05/0.01226, allocations: 79.39 kB / 331.9 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.534e-05/0.0123, allocations: 9.047 kB / 332 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.01237, allocations: 63.36 kB / 332 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01237, allocations: 3.938 kB / 332 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of Templates: time 0.003844/0.01622, allocations: 1.53 MB / 333.6 MB, free: 15.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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: 2.903166700154543]