Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.0008492/0.0008492, 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.001197/0.001197, allocations: 163.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 0.987/0.987, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.16/0.16, 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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.694e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003494/0.003521, allocations: 1.622 MB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.004608, allocations: 1.27 MB / 380.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.004666, allocations: 0 / 380.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.004877, allocations: 23.8 kB / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.005145, allocations: 83.55 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.005351, allocations: 99.62 kB / 380.4 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.00547, allocations: 67.77 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.373e-05/0.005553, allocations: 15.86 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.706e-05/0.00561, allocations: 43.83 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.924e-05/0.0057, allocations: 19.92 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.005715, allocations: 4 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.005849, allocations: 95.81 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.005888, allocations: 15.91 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.00591, allocations: 15.94 kB / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.006082, allocations: 127.6 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.006085, allocations: 0 / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.006086, allocations: 0 / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.006091, allocations: 0 / 380.8 MB, free: 22.05 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.0002951/0.006386, allocations: 431.9 kB / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.006419, allocations: 15.97 kB / 381.2 MB, free: 21.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.006454, allocations: 16.89 kB / 381.2 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.006559, allocations: 140.3 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.006567, allocations: 384 / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.006583, allocations: 4.375 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.612e-05/0.006679, allocations: 104 kB / 381.5 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.006686, allocations: 192 / 381.5 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.006693, allocations: 8.125 kB / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.006697, allocations: 0 / 381.5 MB, free: 21.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.936e-05/0.006716, allocations: 8 kB / 381.5 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.006907, allocations: 260.4 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.007025, allocations: 46.98 kB / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.249e-05/0.007037, allocations: 7.688 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.007051, allocations: 4 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.007066, allocations: 37.33 kB / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.007067, allocations: 0 / 381.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002433/0.00731, allocations: 85.59 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.007334, allocations: 77.11 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.374e-05/0.007408, allocations: 196 kB / 382.2 MB, free: 20.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.007413, allocations: 33.7 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.007441, allocations: 142.9 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.007456, allocations: 19.84 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.007481, allocations: 27.36 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.106e-05/0.007522, allocations: 0.4923 MB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.007533, allocations: 4 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.007555, allocations: 49.02 kB / 382.9 MB, free: 19.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.00758, allocations: 23.67 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.007581, allocations: 0 / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.709e-05/0.007649, allocations: 61.83 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.00766, allocations: 8.031 kB / 383 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.007664, allocations: 0 / 383 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.007672, allocations: 4 kB / 383 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.252e-05/0.007714, allocations: 15.94 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.025e-06/0.007717, allocations: 0 / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/0.007739, allocations: 3.984 kB / 383.1 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.007743, allocations: 4 kB / 383.1 MB, free: 19.53 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 3.923e-05/0.007783, allocations: 160.5 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.007804, allocations: 11.89 kB / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.542e-05/0.007889, allocations: 70.08 kB / 383.3 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007891, allocations: 4 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.007892, allocations: 0 / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.007895, allocations: 0 / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.008061, allocations: 302 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.008062, allocations: 0 / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/0.008091, allocations: 11.98 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.008092, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.008097, allocations: 4 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.008099, allocations: 0 / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.0081, allocations: 4 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.269e-05/0.008173, allocations: 211.8 kB / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-06/0.008181, allocations: 4.234 kB / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.008193, allocations: 0 / 383.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.324e-05/0.008227, allocations: 7.984 kB / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.008251, allocations: 8 kB / 383.8 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.008254, allocations: 4.172 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.633e-05/0.00829, allocations: 153.3 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00829, allocations: 0 / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002016/0.008492, allocations: 31.94 kB / 384 MB, free: 18.5 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.0009801/0.009472, allocations: 492.9 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.00959, allocations: 27.66 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.009592, allocations: 0 / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.865e-05/0.009611, allocations: 23.61 kB / 384.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.009807, allocations: 26.77 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.01004, allocations: 159.9 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.254e-05/0.01006, allocations: 63.22 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.747e-05/0.0101, allocations: 16.22 kB / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.01016, allocations: 86.19 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01016, allocations: 0 / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of Templates: time 0.00348/0.01364, allocations: 2.038 MB / 386.9 MB, free: 15.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.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.3966302680782974]