Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001074/0.001074, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001926/0.001926, allocations: 169 kB / 24.91 MB, free: 8.723 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.9724/0.9724, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1471/0.1471, allocations: 32.8 MB / 294.6 MB, free: 15.44 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.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 323.3 MB, free: 2.734 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.362e-05, allocations: 6.25 kB / 323.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002176/0.00219, allocations: 1.699 MB / 325 MB, free: 1.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006538/0.002844, allocations: 0.5452 MB / 325.5 MB, free: 476 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.002889, allocations: 0 / 325.5 MB, free: 476 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.003115, allocations: 83.64 kB / 325.6 MB, free: 392 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.003306, allocations: 95.53 kB / 325.7 MB, free: 296 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.003476, allocations: 95.62 kB / 325.8 MB, free: 200 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.003601, allocations: 79.81 kB / 325.9 MB, free: 120 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.217e-05/0.003683, allocations: 11.98 kB / 325.9 MB, free: 108 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.234e-05/0.003745, allocations: 47.88 kB / 325.9 MB, free: 60 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.676e-05/0.003832, allocations: 51.88 kB / 326 MB, free: 8 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.003845, allocations: 7.938 kB / 326 MB, free: 0 / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-05/0.003928, allocations: 47.92 kB / 326 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.009e-05/0.003968, allocations: 15.94 kB / 326.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.003992, allocations: 23.84 kB / 326.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.004125, allocations: 87.67 kB / 326.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004127, allocations: 0 / 326.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004127, allocations: 0 / 326.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.004131, allocations: 0 / 326.2 MB, free: 15.83 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.0002824/0.004414, allocations: 320.2 kB / 326.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.004441, allocations: 15.92 kB / 326.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.004464, allocations: 8.938 kB / 326.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.004579, allocations: 138.3 kB / 326.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.004587, allocations: 8.375 kB / 326.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.004602, allocations: 4.312 kB / 326.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.988e-05/0.004681, allocations: 62.92 kB / 326.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.004689, allocations: 192 / 326.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.004696, allocations: 4.125 kB / 326.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.0047, allocations: 4 kB / 326.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.004718, allocations: 7.984 kB / 326.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.004899, allocations: 179 kB / 326.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.151e-05/0.00494, allocations: 26.56 kB / 326.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.279e-05/0.004953, allocations: 16.86 kB / 326.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.004968, allocations: 4 kB / 327 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.004986, allocations: 34.5 kB / 327 MB, free: 14.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.004987, allocations: 0 / 327 MB, free: 14.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003495/0.005336, allocations: 141.5 kB / 327.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.005361, allocations: 59.39 kB / 327.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.005459, allocations: 176.3 kB / 327.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.005468, allocations: 29.7 kB / 327.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.783e-05/0.005496, allocations: 100.1 kB / 327.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.005518, allocations: 31.73 kB / 327.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.005541, allocations: 17.7 kB / 327.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.41e-05/0.005616, allocations: 326.8 kB / 327.8 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.005632, allocations: 8 kB / 327.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-06/0.005642, allocations: 4 kB / 327.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.912e-05/0.005671, allocations: 24.84 kB / 327.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.005672, allocations: 0 / 327.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.841e-05/0.00573, allocations: 69.53 kB / 328 MB, free: 13.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.005741, allocations: 8 kB / 328 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.005745, allocations: 4.312 kB / 328 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.005753, allocations: 0 / 328 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.017e-05/0.005804, allocations: 15.98 kB / 328 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.005807, allocations: 0 / 328 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.005822, allocations: 4 kB / 328 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.005828, allocations: 3.984 kB / 328 MB, free: 13.84 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 (8): * Single equations (assignments): 8 * 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.139e-05/0.005879, allocations: 124.6 kB / 328.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.005897, allocations: 11.88 kB / 328.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.328e-05/0.00598, allocations: 71.12 kB / 328.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.005983, allocations: 4 kB / 328.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.005984, allocations: 4 kB / 328.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.005987, allocations: 0 / 328.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.006174, allocations: 247.5 kB / 328.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006176, allocations: 0 / 328.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.006208, allocations: 15.98 kB / 328.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.00621, allocations: 4 kB / 328.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-06/0.006215, allocations: 0 / 328.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.006215, allocations: 0 / 328.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.006217, allocations: 3.938 kB / 328.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.257e-05/0.00629, allocations: 160.3 kB / 328.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-06/0.006299, allocations: 19.94 kB / 328.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.006308, allocations: 4 kB / 328.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.062e-05/0.006338, allocations: 3.984 kB / 328.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.00636, allocations: 8 kB / 328.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.006362, allocations: 0 / 328.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.957e-05/0.006402, allocations: 64.62 kB / 328.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006402, allocations: 0 / 328.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001277/0.00653, allocations: 19.92 kB / 328.7 MB, free: 13.02 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001029/0.007559, allocations: 0.5703 MB / 329.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.328e-05/0.007622, allocations: 36.77 kB / 329.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.007625, allocations: 0 / 329.3 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.007645, allocations: 24.8 kB / 329.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.007787, allocations: 24.05 kB / 329.4 MB, free: 12.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.00804, allocations: 219.1 kB / 329.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.535e-05/0.008075, allocations: 75.25 kB / 329.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.897e-05/0.008104, allocations: 8.734 kB / 329.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.008152, allocations: 67.36 kB / 329.8 MB, free: 12.22 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.008153, allocations: 0 / 329.8 MB, free: 12.22 MB / 314.7 MB Notification: Performance of Templates: time 0.002625/0.01078, allocations: 1.48 MB / 331.2 MB, free: 10.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/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.98512979503721]