Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001046/0.001046, 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.001562/0.001562, 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 1.012/1.012, 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.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.1477/0.1477, allocations: 32.8 MB / 295.4 MB, free: 15.37 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.573e-05, allocations: 6.25 kB / 377.3 MB, free: 25.56 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.00185/0.001866, allocations: 1.678 MB / 379 MB, free: 23.87 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009672/0.002833, allocations: 1.286 MB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.002882, allocations: 3.938 kB / 380.3 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.003041, allocations: 15.86 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.003271, allocations: 95.42 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.003463, allocations: 131.6 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.003567, allocations: 67.78 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.443e-05/0.003641, allocations: 19.95 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.003e-05/0.003702, allocations: 39.86 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.219e-05/0.003784, allocations: 27.89 kB / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.003796, allocations: 4 kB / 380.7 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.003904, allocations: 99.75 kB / 380.7 MB, free: 22.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.003951, allocations: 19.92 kB / 380.8 MB, free: 22.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.003969, allocations: 15.98 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.004125, allocations: 139.5 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.004126, allocations: 4 kB / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004127, allocations: 0 / 380.9 MB, free: 21.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.00413, allocations: 0 / 380.9 MB, free: 21.9 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000288/0.004418, allocations: 435.9 kB / 381.3 MB, free: 21.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.004449, allocations: 11.98 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.00448, allocations: 8.891 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.004585, allocations: 144.3 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.004594, allocations: 8.312 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.004611, allocations: 4.375 kB / 381.5 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.004712, allocations: 108 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.004722, allocations: 4.188 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.00473, allocations: 12.06 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.004736, allocations: 0 / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.146e-05/0.004757, allocations: 4 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.004939, allocations: 268.4 kB / 381.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.931e-05/0.004999, allocations: 31.06 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.005019, allocations: 19.7 kB / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.005035, allocations: 0 / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.005057, allocations: 45.33 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.005059, allocations: 4 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002978/0.005356, allocations: 117.4 kB / 382.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.005379, allocations: 77.11 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.005449, allocations: 197.9 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.005455, allocations: 25.7 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.00548, allocations: 138.9 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.005502, allocations: 31.73 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.005526, allocations: 19.38 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.549e-05/0.005581, allocations: 0.4962 MB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.005594, allocations: 4 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.65e-05/0.005621, allocations: 61.05 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.005652, allocations: 31.84 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.005652, allocations: 0 / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.409e-05/0.005716, allocations: 69.56 kB / 383.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.005726, allocations: 10.19 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.00573, allocations: 0 / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.005738, allocations: 0 / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.005797, allocations: 15.98 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.005799, allocations: 0 / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.005822, allocations: 7.984 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.005827, allocations: 8.031 kB / 383.3 MB, free: 19.29 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 (7): * Single equations (assignments): 7 * 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 3.844e-05/0.005866, allocations: 160.5 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.005887, allocations: 15.89 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.645e-05/0.005974, allocations: 66.45 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.005977, allocations: 7.938 kB / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.005978, allocations: 0 / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.005981, allocations: 0 / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.006155, allocations: 321.9 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006156, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.00619, allocations: 12 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.006191, allocations: 4 kB / 383.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.006197, allocations: 3.984 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.006198, allocations: 4 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.006199, allocations: 4 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.082e-05/0.00627, allocations: 215.8 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-06/0.006279, allocations: 12.17 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.006289, allocations: 0 / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.564e-05/0.006325, allocations: 7.984 kB / 384.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.006348, allocations: 15.97 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.006352, allocations: 0 / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.963e-05/0.006381, allocations: 147.2 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006381, allocations: 0 / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.006565, allocations: 43.86 kB / 384.3 MB, free: 18.2 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 (7): * Single equations (assignments): 7 * 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.0008842/0.007449, allocations: 486.6 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.531e-05/0.007535, allocations: 39.66 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.007536, allocations: 0 / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.174e-05/0.007558, allocations: 27.61 kB / 384.9 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.00774, allocations: 26.77 kB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.007974, allocations: 187.1 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.76e-05/0.008001, allocations: 63.2 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.796e-05/0.008039, allocations: 23.97 kB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.008095, allocations: 90.19 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of SimCode: time 6.12e-07/0.008096, allocations: 4 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of Templates: time 0.003094/0.01119, allocations: 2.201 MB / 387.4 MB, free: 15.23 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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.1926376572810113]