Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.0009666/0.0009666, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.0009828/0.0009828, allocations: 166.4 kB / 25.61 MB, free: 8.594 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.9015/0.9015, allocations: 177.1 MB / 206 MB, free: 4.477 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.1362/0.1362, allocations: 34.27 MB / 296.9 MB, free: 13.94 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.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046e-05/1.155e-05, allocations: 6.25 kB / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.001524/0.001536, allocations: 1.633 MB / 380.9 MB, free: 21.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005207/0.002057, allocations: 0.5258 MB / 381.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.0021, allocations: 4 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.002265, allocations: 27.83 kB / 381.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.002449, allocations: 75.58 kB / 381.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.002626, allocations: 119.6 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.719e-05/0.002723, allocations: 67.78 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.817e-05/0.002791, allocations: 15.84 kB / 381.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.002831, allocations: 31.86 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.002872, allocations: 15.91 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.888e-06/0.002882, allocations: 4 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.882e-05/0.002931, allocations: 35.92 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.00296, allocations: 7.938 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.796e-05/0.002978, allocations: 15.97 kB / 381.9 MB, free: 20.85 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.489e-05/0.003073, allocations: 71.75 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.003075, allocations: 4 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003075, allocations: 3.938 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.003078, allocations: 0 / 381.9 MB, free: 20.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000235/0.003313, allocations: 400.2 kB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.5e-05/0.003338, allocations: 12.02 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.003362, allocations: 12.83 kB / 382.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.454e-05/0.003447, allocations: 142.3 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.003454, allocations: 384 / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.003467, allocations: 8.375 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.167e-05/0.003528, allocations: 50.95 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.003536, allocations: 4.188 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-06/0.003541, allocations: 4.125 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.003546, allocations: 0 / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.003563, allocations: 7.984 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.003716, allocations: 252.4 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.767e-05/0.003814, allocations: 43.05 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.144e-05/0.003825, allocations: 11.69 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.003837, allocations: 0 / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.003849, allocations: 45.41 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.003849, allocations: 0 / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002027/0.004052, allocations: 97.44 kB / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.469e-05/0.004067, allocations: 51.41 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.294e-05/0.00413, allocations: 199.5 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.929e-06/0.004135, allocations: 25.7 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.355e-05/0.004158, allocations: 146.8 kB / 383.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.004173, allocations: 15.86 kB / 383.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.004195, allocations: 31.3 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.107e-05/0.004226, allocations: 0.4884 MB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.918e-06/0.004236, allocations: 3.984 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.857e-06/0.004245, allocations: 4 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.00427, allocations: 35.86 kB / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.00427, allocations: 0 / 384 MB, free: 18.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.864e-05/0.004319, allocations: 57.58 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.004328, allocations: 8 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.004331, allocations: 0 / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.004337, allocations: 3.938 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.205e-05/0.00437, allocations: 11.98 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.004372, allocations: 0 / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.004387, allocations: 4 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-06/0.00439, allocations: 0 / 384.1 MB, free: 18.43 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 (5): * Single equations (assignments): 5 * 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 2.999e-05/0.00442, allocations: 156.6 kB / 384.2 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.004438, allocations: 19.89 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.128e-05/0.00451, allocations: 70.06 kB / 384.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.004511, allocations: 0 / 384.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.004512, allocations: 0 / 384.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.004515, allocations: 0 / 384.3 MB, free: 18.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.004647, allocations: 298 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.004648, allocations: 0 / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.00467, allocations: 11.98 kB / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.004671, allocations: 0 / 384.6 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.004675, allocations: 8 kB / 384.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.004676, allocations: 0 / 384.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004676, allocations: 0 / 384.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.362e-05/0.00473, allocations: 215.9 kB / 384.8 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.004736, allocations: 7.953 kB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-06/0.004744, allocations: 0 / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.927e-05/0.004774, allocations: 7.984 kB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.004791, allocations: 4 kB / 384.9 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.004794, allocations: 0 / 384.9 MB, free: 17.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.508e-05/0.004819, allocations: 146.1 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004819, allocations: 0 / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001478/0.004967, allocations: 16 kB / 385 MB, free: 17.43 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 (5): * Single equations (assignments): 5 * 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.0006749/0.005641, allocations: 392.3 kB / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.099e-05/0.005702, allocations: 35.61 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.21e-07/0.005703, allocations: 0 / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.481e-05/0.005718, allocations: 15.69 kB / 385.5 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.005894, allocations: 26.97 kB / 385.5 MB, free: 17.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002037/0.006098, allocations: 168.5 kB / 385.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.021e-05/0.006118, allocations: 71.19 kB / 385.7 MB, free: 16.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.322e-05/0.006142, allocations: 4 kB / 385.7 MB, free: 16.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.006178, allocations: 82.19 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006178, allocations: 0 / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of Templates: time 0.002201/0.008379, allocations: 1.291 MB / 387.1 MB, free: 15.45 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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.8958089482039213]