Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001228/0.001228, allocations: 76.41 kB / 22.21 MB, free: 2.281 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.001141/0.001141, allocations: 168.6 kB / 25.61 MB, free: 8.914 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.9762/0.9762, allocations: 177.1 MB / 206.1 MB, free: 4.516 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.1486/0.1486, allocations: 32.79 MB / 295.4 MB, free: 15.4 MB / 282.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 4 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.412e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002805/0.002829, allocations: 1.71 MB / 379 MB, free: 23.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00061/0.003439, allocations: 0.5297 MB / 379.5 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.003477, allocations: 0 / 379.5 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.003616, allocations: 79.64 kB / 379.6 MB, free: 23.26 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.003794, allocations: 107.5 kB / 379.7 MB, free: 23.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.004001, allocations: 127.5 kB / 379.8 MB, free: 23.03 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.584e-05/0.004087, allocations: 95.73 kB / 379.9 MB, free: 22.94 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.004134, allocations: 16.16 kB / 379.9 MB, free: 22.92 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.357e-05/0.004178, allocations: 51.89 kB / 380 MB, free: 22.87 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.192e-05/0.00424, allocations: 55.86 kB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.774e-06/0.004247, allocations: 4 kB / 380.1 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.098e-05/0.004308, allocations: 51.92 kB / 380.1 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.564e-05/0.004344, allocations: 23.91 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.333e-05/0.004357, allocations: 19.92 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.004478, allocations: 99.53 kB / 380.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.00448, allocations: 4 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.004482, allocations: 0 / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.004487, allocations: 0 / 380.2 MB, free: 22.61 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004256/0.004912, allocations: 451.9 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.004953, allocations: 11.98 kB / 380.7 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.005003, allocations: 20.84 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.005135, allocations: 145.1 kB / 380.9 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.005146, allocations: 4.375 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.005171, allocations: 384 / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.005281, allocations: 66.88 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.005294, allocations: 4.188 kB / 380.9 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.005304, allocations: 4.125 kB / 380.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.005311, allocations: 3.984 kB / 380.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.671e-05/0.005338, allocations: 15.98 kB / 381 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.005614, allocations: 280.2 kB / 381.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.005746, allocations: 43.05 kB / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.005761, allocations: 19.8 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.005771, allocations: 3.938 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.005783, allocations: 41.48 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.005784, allocations: 3.938 kB / 381.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.000428/0.006212, allocations: 225.6 kB / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.479e-05/0.006227, allocations: 55.41 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.00631, allocations: 230.8 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.006317, allocations: 25.7 kB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.006349, allocations: 154.8 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.006369, allocations: 43.67 kB / 382.1 MB, free: 20.63 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.006398, allocations: 27.36 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.006448, allocations: 0.5078 MB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.006463, allocations: 12 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.572e-05/0.006479, allocations: 11.98 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.006518, allocations: 46.89 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.006519, allocations: 0 / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.47e-05/0.006593, allocations: 89.52 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.006601, allocations: 8 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-06/0.006604, allocations: 0 / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.17e-06/0.006609, allocations: 0 / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.006662, allocations: 23.98 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.006664, allocations: 7.922 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.006687, allocations: 8 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.006691, allocations: 4 kB / 382.8 MB, free: 19.86 MB / 314.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 (11): * Single equations (assignments): 11 * 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 4.234e-05/0.006733, allocations: 168.5 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.006759, allocations: 15.91 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.928e-05/0.006858, allocations: 99.06 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.00686, allocations: 4 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.006862, allocations: 0 / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.006864, allocations: 0 / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.007076, allocations: 385.1 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.007077, allocations: 4.062 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.007124, allocations: 27.92 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.007125, allocations: 0 / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.007132, allocations: 8 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007133, allocations: 0 / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.007134, allocations: 4 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.604e-05/0.00723, allocations: 255.1 kB / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-06/0.007238, allocations: 11.91 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.007249, allocations: 7.938 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.104e-05/0.00729, allocations: 12.17 kB / 383.8 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.007307, allocations: 15.92 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.007311, allocations: 4 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.166e-05/0.007353, allocations: 163.1 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007353, allocations: 0 / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000165/0.007518, allocations: 27.94 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008762/0.008394, allocations: 437.7 kB / 384.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.949e-05/0.008473, allocations: 51.59 kB / 384.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.008475, allocations: 0 / 384.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.062e-05/0.008505, allocations: 43.59 kB / 384.5 MB, free: 18.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.008689, allocations: 26.83 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.008951, allocations: 278.9 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.768e-05/0.008979, allocations: 71.2 kB / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.944e-05/0.009018, allocations: 20.59 kB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.009066, allocations: 86.19 kB / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009066, allocations: 0 / 385 MB, free: 17.7 MB / 314.7 MB Notification: Performance of Templates: time 0.003162/0.01223, allocations: 1.767 MB / 386.8 MB, free: 15.95 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.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.224177944008261]