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.0009616/0.0009616, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001017/0.001017, allocations: 164.4 kB / 24.82 MB, free: 9.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.9938/0.9938, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2573/0.2573, allocations: 32.8 MB / 294.6 MB, free: 1.238 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 4.077e-06/4.077e-06, allocations: 4 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/3.002e-05, allocations: 6.25 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003269/0.003299, allocations: 1.685 MB / 378.2 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009339/0.004233, allocations: 0.8104 MB / 379 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.004272, allocations: 4 kB / 379 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.004482, allocations: 27.78 kB / 379 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.004654, allocations: 43.77 kB / 379.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.876e-06/0.004657, allocations: 0 / 379.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.004771, allocations: 35.83 kB / 379.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.136e-05/0.004803, allocations: 4 kB / 379.1 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.348e-05/0.004876, allocations: 11.98 kB / 379.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.443e-05/0.004901, allocations: 23.91 kB / 379.1 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.958e-06/0.004911, allocations: 0 / 379.1 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.945e-05/0.00495, allocations: 11.94 kB / 379.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.004989, allocations: 15.94 kB / 379.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.519e-05/0.005004, allocations: 7.938 kB / 379.2 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.005113, allocations: 55.77 kB / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005116, allocations: 0 / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005117, allocations: 0 / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.00512, allocations: 4 kB / 379.2 MB, free: 1.633 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002694/0.005389, allocations: 388.4 kB / 379.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.005426, allocations: 16.02 kB / 379.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.005455, allocations: 12.89 kB / 379.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.005564, allocations: 128.5 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.005573, allocations: 4.359 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-06/0.005578, allocations: 384 / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.005679, allocations: 114.7 kB / 379.9 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.005686, allocations: 4.125 kB / 379.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.005692, allocations: 384 / 379.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.00573, allocations: 24.36 kB / 379.9 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.672e-05/0.005756, allocations: 31.8 kB / 379.9 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.006206, allocations: 1.177 MB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.082e-05/0.006277, allocations: 269.5 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.768e-05/0.006304, allocations: 130.9 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.006328, allocations: 123.2 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.006366, allocations: 156.6 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.006367, allocations: 0 / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5e-05/0.006417, allocations: 33.66 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.006462, allocations: 178.5 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.00659, allocations: 251 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.006596, allocations: 25.7 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.006671, allocations: 202.2 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.006674, allocations: 7.984 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.006715, allocations: 51.31 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.006826, allocations: 0.5001 MB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.006838, allocations: 7.984 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.963e-05/0.006928, allocations: 193.7 kB / 383.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.00705, allocations: 233.4 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007052, allocations: 0 / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001509/0.007203, allocations: 161.7 kB / 383.6 MB, free: 12.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.007215, allocations: 8 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.007221, allocations: 4 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.007235, allocations: 4 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.007314, allocations: 35.92 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.007322, allocations: 15.92 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.007369, allocations: 23.84 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.007379, allocations: 8 kB / 383.7 MB, free: 12.75 MB / 362.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 8.059e-05/0.007459, allocations: 287.6 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.007503, allocations: 160.8 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.471e-05/0.007548, allocations: 160.8 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.372e-05/0.007602, allocations: 272 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.355e-05/0.007655, allocations: 268.1 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.238e-05/0.007707, allocations: 268.1 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.007869, allocations: 0.4926 MB / 385.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/0.007899, allocations: 148.9 kB / 385.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.007932, allocations: 148.8 kB / 385.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.594e-05/0.007988, allocations: 272.1 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.008043, allocations: 268 kB / 386.4 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-05/0.008097, allocations: 268.1 kB / 386.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.577e-05/0.008153, allocations: 272.1 kB / 386.9 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.008281, allocations: 459.8 kB / 387.4 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.008321, allocations: 156.8 kB / 387.5 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.008381, allocations: 268.1 kB / 387.8 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.444e-05/0.008436, allocations: 148.9 kB / 387.9 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.008495, allocations: 272 kB / 388.2 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.008529, allocations: 152.9 kB / 388.3 MB, free: 7.914 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.774e-05/0.008587, allocations: 155.3 kB / 388.5 MB, free: 7.762 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.008587, allocations: 0 / 388.5 MB, free: 7.762 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001736/0.00876, allocations: 19.94 kB / 388.5 MB, free: 7.742 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 (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.0004004/0.009161, allocations: 307.9 kB / 388.8 MB, free: 7.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.141e-05/0.009252, allocations: 71.45 kB / 388.9 MB, free: 7.406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.009253, allocations: 0 / 388.9 MB, free: 7.406 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.009255, allocations: 3.938 kB / 388.9 MB, free: 7.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.009517, allocations: 0.7062 MB / 389.6 MB, free: 6.691 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.009749, allocations: 285.1 kB / 389.9 MB, free: 6.383 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.145e-05/0.009781, allocations: 59.84 kB / 389.9 MB, free: 6.305 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.117e-05/0.009842, allocations: 21.12 kB / 389.9 MB, free: 6.285 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.009882, allocations: 82.19 kB / 390 MB, free: 6.203 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.009883, allocations: 4 kB / 390 MB, free: 6.199 MB / 362.7 MB Notification: Performance of Templates: time 0.002149/0.01203, allocations: 0.7729 MB / 390.8 MB, free: 5.43 MB / 362.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: 3.053704703692347]