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.001883/0.001883, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001962/0.001962, allocations: 169.3 kB / 24.28 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.604/1.604, allocations: 177.2 MB / 204.6 MB, free: 5.594 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.3499/0.3499, allocations: 32.8 MB / 293.9 MB, free: 1.215 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 2.084e-06/2.084e-06, allocations: 0 / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.581e-05/3.789e-05, allocations: 5.547 kB / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.004595/0.004633, allocations: 1.673 MB / 376.9 MB, free: 3.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.006135, allocations: 0.787 MB / 377.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/0.006178, allocations: 0 / 377.7 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.006466, allocations: 23.86 kB / 377.8 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.00675, allocations: 55.69 kB / 377.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.49e-06/0.006755, allocations: 0 / 377.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.006928, allocations: 31.91 kB / 377.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.006972, allocations: 3.984 kB / 377.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.122e-05/0.007023, allocations: 11.94 kB / 377.9 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.007118, allocations: 15.92 kB / 377.9 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.007133, allocations: 4 kB / 377.9 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.005e-05/0.007193, allocations: 12 kB / 377.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.00725, allocations: 15.97 kB / 377.9 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.00728, allocations: 7.938 kB / 377.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.007482, allocations: 67.67 kB / 378 MB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.007489, allocations: 4 kB / 378 MB, free: 2.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.00749, allocations: 4 kB / 378 MB, free: 2.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.007495, allocations: 0 / 378 MB, free: 2.262 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.0005673/0.008062, allocations: 395.9 kB / 378.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.008102, allocations: 12.03 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.008159, allocations: 8.891 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.008349, allocations: 120.5 kB / 378.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.008363, allocations: 384 / 378.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.008383, allocations: 12.3 kB / 378.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.008614, allocations: 104.4 kB / 378.6 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.008625, allocations: 192 / 378.6 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.008642, allocations: 8.359 kB / 378.6 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.817e-05/0.00871, allocations: 24.3 kB / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.039e-05/0.008801, allocations: 31.86 kB / 378.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.01034, allocations: 1.219 MB / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.01057, allocations: 265.4 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.719e-05/0.01067, allocations: 130.9 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.594e-05/0.01075, allocations: 119.2 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.01087, allocations: 156.6 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.01087, allocations: 0 / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001158/0.01098, allocations: 41.59 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.01112, allocations: 174.6 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.01151, allocations: 267 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.01153, allocations: 25.7 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.01174, allocations: 202.3 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.203e-06/0.01174, allocations: 7.984 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.01185, allocations: 47.38 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003665/0.01221, allocations: 0.5001 MB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.626e-05/0.01227, allocations: 19.94 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.01254, allocations: 197.7 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.0129, allocations: 237.4 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.0129, allocations: 0 / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000451/0.01336, allocations: 169.7 kB / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.01337, allocations: 4 kB / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.01338, allocations: 4 kB / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.01341, allocations: 11.94 kB / 382.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.0136, allocations: 35.92 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/0.01362, allocations: 15.92 kB / 382.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.01376, allocations: 23.84 kB / 382.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.01378, allocations: 8 kB / 382.5 MB, free: 13.29 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 0.0002417/0.01402, allocations: 295.6 kB / 382.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.01417, allocations: 152.8 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.01429, allocations: 164.7 kB / 383.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001813/0.01448, allocations: 272 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001719/0.01465, allocations: 268.1 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001792/0.01483, allocations: 272.1 kB / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.01533, allocations: 0.5155 MB / 384.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001026/0.01543, allocations: 152.8 kB / 384.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.01555, allocations: 148.9 kB / 384.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.01573, allocations: 268 kB / 385 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/0.01591, allocations: 272.1 kB / 385.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001819/0.01609, allocations: 264.1 kB / 385.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001818/0.01627, allocations: 280 kB / 385.8 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.01662, allocations: 451.9 kB / 386.2 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.01674, allocations: 156.8 kB / 386.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.01693, allocations: 264.1 kB / 386.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.01733, allocations: 156.8 kB / 386.8 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.01751, allocations: 268 kB / 387.1 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.512e-05/0.0176, allocations: 148.8 kB / 387.2 MB, free: 8.422 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001898/0.01779, allocations: 167.3 kB / 387.4 MB, free: 8.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01779, allocations: 0 / 387.4 MB, free: 8.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004513/0.01824, allocations: 12 kB / 387.4 MB, free: 8.246 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.001573/0.01982, allocations: 339.7 kB / 387.7 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.02004, allocations: 67.47 kB / 387.8 MB, free: 7.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.02005, allocations: 0 / 387.8 MB, free: 7.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.909e-06/0.02005, allocations: 4 kB / 387.8 MB, free: 7.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007733/0.02082, allocations: 0.7074 MB / 388.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.02135, allocations: 283.8 kB / 388.8 MB, free: 6.867 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.02147, allocations: 83.83 kB / 388.8 MB, free: 6.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.02167, allocations: 53 kB / 388.9 MB, free: 6.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.02171, allocations: 20.48 kB / 388.9 MB, free: 6.695 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02172, allocations: 0 / 388.9 MB, free: 6.695 MB / 362.7 MB Notification: Performance of Templates: time 0.004779/0.02649, allocations: 0.729 MB / 389.6 MB, free: 5.98 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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: 4.898864260991104]