Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001318/0.001318, allocations: 81.97 kB / 22.21 MB, free: 2.293 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.001085/0.001085, allocations: 164.4 kB / 25.61 MB, free: 8.59 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.056/1.056, allocations: 177.1 MB / 206 MB, free: 4.504 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.1408/0.1408, allocations: 32.79 MB / 295.4 MB, free: 15.39 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.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.67e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002813/0.002839, allocations: 1.638 MB / 378.9 MB, free: 23.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006768/0.003516, allocations: 0.5414 MB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.003574, allocations: 4 kB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.003829, allocations: 103.5 kB / 379.6 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.00409, allocations: 111.5 kB / 379.7 MB, free: 23.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.004341, allocations: 107.7 kB / 379.8 MB, free: 23.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.004484, allocations: 91.73 kB / 379.9 MB, free: 22.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.434e-05/0.004579, allocations: 11.98 kB / 379.9 MB, free: 22.97 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.281e-05/0.004641, allocations: 43.89 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.25e-05/0.004724, allocations: 55.88 kB / 380 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.004737, allocations: 4 kB / 380 MB, free: 22.87 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.064e-05/0.004818, allocations: 51.91 kB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.004863, allocations: 23.86 kB / 380.1 MB, free: 22.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.004886, allocations: 11.94 kB / 380.1 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.005122, allocations: 95.59 kB / 380.2 MB, free: 22.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.005127, allocations: 0 / 380.2 MB, free: 22.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.005128, allocations: 0 / 380.2 MB, free: 22.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.005134, allocations: 4 kB / 380.2 MB, free: 22.69 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.0004387/0.005573, allocations: 451.8 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.005618, allocations: 11.98 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.005669, allocations: 20.89 kB / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.005841, allocations: 152.3 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.005854, allocations: 384 / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.00588, allocations: 4.375 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.006018, allocations: 62.88 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.006032, allocations: 192 / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.006044, allocations: 4.125 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.006051, allocations: 0 / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.467e-05/0.006086, allocations: 11.98 kB / 380.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.006441, allocations: 272.4 kB / 381.1 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.359e-05/0.006525, allocations: 42.98 kB / 381.2 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.006547, allocations: 15.69 kB / 381.2 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.006571, allocations: 4 kB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.006594, allocations: 37.33 kB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.006595, allocations: 0 / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006059/0.007201, allocations: 145.9 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.007226, allocations: 51.41 kB / 381.4 MB, free: 21.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.007362, allocations: 250.3 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.007369, allocations: 29.7 kB / 381.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.007423, allocations: 170.7 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.007454, allocations: 27.73 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.007497, allocations: 31.36 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.092e-05/0.007558, allocations: 0.4923 MB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.007579, allocations: 15.92 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.007598, allocations: 8.062 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.155e-05/0.00765, allocations: 35.66 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.007652, allocations: 3.938 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001119/0.007763, allocations: 69.64 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.007778, allocations: 12 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.007784, allocations: 0 / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.007794, allocations: 0 / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.007875, allocations: 15.98 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.007879, allocations: 3.984 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.00791, allocations: 7.984 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.007917, allocations: 0 / 382.6 MB, free: 20.07 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.898e-05/0.007976, allocations: 164.5 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.008013, allocations: 15.91 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.008159, allocations: 83.11 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.008162, allocations: 11.94 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.008164, allocations: 0 / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.008167, allocations: 0 / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.008505, allocations: 357.5 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.008507, allocations: 0 / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.008566, allocations: 12 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.008569, allocations: 0 / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.008581, allocations: 4 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.008584, allocations: 0 / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.008588, allocations: 3.984 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.008767, allocations: 243.8 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.008783, allocations: 7.953 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.0088, allocations: 0 / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.008868, allocations: 4 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.008902, allocations: 11.98 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.008907, allocations: 0 / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.853e-05/0.008976, allocations: 175.1 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008976, allocations: 0 / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003076/0.009283, allocations: 23.94 kB / 383.7 MB, free: 18.89 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.001222/0.01051, allocations: 442.5 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.01065, allocations: 39.61 kB / 384.2 MB, free: 18.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.01066, allocations: 0 / 384.2 MB, free: 18.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.01069, allocations: 27.67 kB / 384.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.01102, allocations: 22.77 kB / 384.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.01152, allocations: 243.7 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.313e-05/0.01158, allocations: 75.19 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.203e-05/0.01164, allocations: 13.09 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.01171, allocations: 86.19 kB / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of SimCode: time 1.173e-06/0.01171, allocations: 0 / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of Templates: time 0.004253/0.01596, allocations: 1.574 MB / 386.2 MB, free: 16.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.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.4678344670683146]