Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.0009501/0.0009501, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009673/0.0009673, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.8967/0.8967, allocations: 177.1 MB / 206 MB, free: 4.484 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.1307/0.1307, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.905e-05, allocations: 6.25 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002636/0.002655, allocations: 1.682 MB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006297/0.003285, allocations: 0.8065 MB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.003323, allocations: 0 / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.003543, allocations: 31.83 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.003723, allocations: 39.77 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.986e-06/0.003726, allocations: 4 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.00385, allocations: 35.84 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.003891, allocations: 7.922 kB / 381.9 MB, free: 20.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.482e-05/0.003966, allocations: 11.94 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.457e-05/0.003991, allocations: 11.97 kB / 381.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.004, allocations: 8 kB / 381.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.994e-05/0.004039, allocations: 12 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.004076, allocations: 15.92 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.004092, allocations: 7.938 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.004198, allocations: 55.77 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.0042, allocations: 0 / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.0042, allocations: 0 / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004205, allocations: 3.938 kB / 382 MB, free: 20.63 MB / 314.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.0002354/0.00444, allocations: 396.3 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.004471, allocations: 8.031 kB / 382.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.004501, allocations: 8.891 kB / 382.4 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.004605, allocations: 128.5 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-06/0.004614, allocations: 384 / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.004622, allocations: 8.359 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.384e-05/0.004716, allocations: 111 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.004724, allocations: 192 / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.004731, allocations: 384 / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.00477, allocations: 24.36 kB / 382.7 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.55e-05/0.004805, allocations: 31.78 kB / 382.7 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.005106, allocations: 1.173 MB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.106e-05/0.005147, allocations: 265.4 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.273e-05/0.005159, allocations: 130.9 kB / 384.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.005168, allocations: 123.2 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.005188, allocations: 160.6 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.005189, allocations: 0 / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 4.979e-05/0.005239, allocations: 41.69 kB / 384.6 MB, free: 17.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.005268, allocations: 178.5 kB / 384.8 MB, free: 17.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.005376, allocations: 238.3 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-06/0.005381, allocations: 29.7 kB / 385 MB, free: 17.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.005436, allocations: 198.3 kB / 385.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-06/0.005439, allocations: 7.938 kB / 385.3 MB, free: 17.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.005485, allocations: 55.3 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.005532, allocations: 0.4962 MB / 385.8 MB, free: 16.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.005547, allocations: 8 kB / 385.8 MB, free: 16.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.00561, allocations: 197.6 kB / 386 MB, free: 16.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.005721, allocations: 225.5 kB / 386.2 MB, free: 16.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.005725, allocations: 8 kB / 386.2 MB, free: 16.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000201/0.005926, allocations: 153.7 kB / 386.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.005937, allocations: 12.09 kB / 386.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.005944, allocations: 7.984 kB / 386.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.005956, allocations: 8 kB / 386.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.082e-05/0.006047, allocations: 39.92 kB / 386.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.006054, allocations: 11.88 kB / 386.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.006128, allocations: 23.78 kB / 386.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.006138, allocations: 16 kB / 386.5 MB, free: 15.75 MB / 314.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 5.142e-05/0.00619, allocations: 287.6 kB / 386.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.006222, allocations: 152.8 kB / 386.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.006248, allocations: 160.6 kB / 387.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.006268, allocations: 268.1 kB / 387.3 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/0.006287, allocations: 272 kB / 387.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.929e-05/0.006307, allocations: 276.1 kB / 387.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.006424, allocations: 0.4888 MB / 388.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.006438, allocations: 156.8 kB / 388.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.266e-05/0.00645, allocations: 144.9 kB / 388.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.292e-05/0.006473, allocations: 268.1 kB / 388.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.006497, allocations: 268 kB / 389.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-05/0.006516, allocations: 264.1 kB / 389.4 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.351e-05/0.00654, allocations: 276 kB / 389.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.335e-05/0.006603, allocations: 455.9 kB / 390.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.006625, allocations: 156.8 kB / 390.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.006659, allocations: 272.1 kB / 390.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.491e-05/0.006714, allocations: 152.8 kB / 390.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/0.006739, allocations: 264.1 kB / 391 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.006752, allocations: 148.9 kB / 391.1 MB, free: 10.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.476e-05/0.006806, allocations: 157.3 kB / 391.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006807, allocations: 0 / 391.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003747/0.007181, allocations: 23.88 kB / 391.3 MB, free: 10.75 MB / 314.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.0003492/0.007531, allocations: 312.2 kB / 391.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.147e-05/0.007612, allocations: 71.58 kB / 391.7 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.007613, allocations: 4 kB / 391.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.007615, allocations: 0 / 391.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.007794, allocations: 0.7062 MB / 392.4 MB, free: 9.691 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000178/0.007972, allocations: 277.2 kB / 392.7 MB, free: 9.391 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.276e-05/0.007995, allocations: 68.95 kB / 392.7 MB, free: 9.305 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.02e-05/0.008045, allocations: 13.14 kB / 392.7 MB, free: 9.293 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.008072, allocations: 78.2 kB / 392.8 MB, free: 9.215 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008073, allocations: 0 / 392.8 MB, free: 9.215 MB / 314.7 MB Notification: Performance of Templates: time 0.002065/0.01014, allocations: 0.7903 MB / 393.6 MB, free: 8.441 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.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.8875556071288884]