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.001162/0.001162, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007941/0.009103, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00103/0.00103, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00135/0.00238, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.065/1.065, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1143/1.179, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2955/0.2955, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02592/0.3214, allocations: 12.52 MB / 289.3 MB, free: 8.676 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.252e-06/1.252e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.346e-05, allocations: 3.297 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002906/0.00292, allocations: 1.688 MB / 292.3 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.004391, allocations: 1.301 MB / 293.6 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.004447, allocations: 6.438 kB / 293.6 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.00459, allocations: 20.12 kB / 293.6 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.004849, allocations: 85.83 kB / 293.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.005077, allocations: 80.56 kB / 293.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.00521, allocations: 71.77 kB / 293.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.005291, allocations: 19.97 kB / 293.9 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.21e-05/0.005373, allocations: 55.84 kB / 293.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.031e-05/0.005463, allocations: 23.91 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.005477, allocations: 4 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.005639, allocations: 103.8 kB / 294.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.005673, allocations: 7.938 kB / 294.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.005693, allocations: 8 kB / 294.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.005866, allocations: 127.5 kB / 294.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.265e-05/0.005879, allocations: 0 / 294.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.00588, allocations: 0 / 294.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.005891, allocations: 0 / 294.2 MB, free: 4.691 MB / 282.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.0003702/0.006261, allocations: 312.7 kB / 294.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.729e-05/0.006288, allocations: 12.03 kB / 294.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.006318, allocations: 4.938 kB / 294.5 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.006444, allocations: 137.6 kB / 294.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-06/0.006451, allocations: 384 / 294.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.006468, allocations: 12.3 kB / 294.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.006571, allocations: 90.38 kB / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.006578, allocations: 192 / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.006586, allocations: 8.125 kB / 294.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.00659, allocations: 0 / 294.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.00661, allocations: 7.984 kB / 294.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.00679, allocations: 171.1 kB / 295 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.006923, allocations: 34.55 kB / 295 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.006943, allocations: 8.859 kB / 295 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.006959, allocations: 0 / 295 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.00698, allocations: 30.56 kB / 295 MB, free: 3.773 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.006981, allocations: 0 / 295 MB, free: 3.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002501/0.007231, allocations: 81.62 kB / 295.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.007255, allocations: 55.41 kB / 295.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.007338, allocations: 140.3 kB / 295.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.007346, allocations: 29.64 kB / 295.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.007375, allocations: 100.1 kB / 295.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.007393, allocations: 19.84 kB / 295.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.007419, allocations: 21.69 kB / 295.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.007482, allocations: 314.8 kB / 295.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-06/0.00749, allocations: 4 kB / 295.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/0.007517, allocations: 47.59 kB / 295.8 MB, free: 2.906 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.007548, allocations: 24.84 kB / 295.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.007549, allocations: 0 / 295.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003117/0.007861, allocations: 49.62 kB / 295.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.007871, allocations: 4 kB / 295.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.007875, allocations: 7.969 kB / 295.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/0.007881, allocations: 0 / 295.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.067e-05/0.007932, allocations: 15.98 kB / 295.9 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.007934, allocations: 0 / 295.9 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.007953, allocations: 4 kB / 295.9 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.007957, allocations: 0 / 295.9 MB, free: 2.793 MB / 282.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 4.897e-05/0.008006, allocations: 112.7 kB / 296 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.008023, allocations: 11.92 kB / 296 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.358e-05/0.008106, allocations: 54.16 kB / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.008108, allocations: 3.938 kB / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.00811, allocations: 4 kB / 296.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.008113, allocations: 3.984 kB / 296.1 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.00828, allocations: 214.8 kB / 296.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.008282, allocations: 3.938 kB / 296.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.008315, allocations: 12 kB / 296.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-06/0.008322, allocations: 3.953 kB / 296.3 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.008326, allocations: 7.984 kB / 296.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.00833, allocations: 192 / 296.3 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.008332, allocations: 4 kB / 296.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.008333, allocations: 0 / 296.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.621e-05/0.008399, allocations: 147.4 kB / 296.5 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.008408, allocations: 4 kB / 296.5 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.165e-05/0.00844, allocations: 7.984 kB / 296.5 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.008458, allocations: 0 / 296.5 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.008461, allocations: 4 kB / 296.5 MB, free: 2.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.15e-05/0.008493, allocations: 37.06 kB / 296.5 MB, free: 2.109 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008493, allocations: 0 / 296.5 MB, free: 2.109 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.008649, allocations: 39.86 kB / 296.6 MB, free: 2.07 MB / 282.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.001493/0.01014, allocations: 0.6894 MB / 297.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.216e-05/0.01022, allocations: 32.78 kB / 297.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.01023, allocations: 4 kB / 297.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.5e-05/0.01025, allocations: 12.86 kB / 297.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.01041, allocations: 34.31 kB / 297.4 MB, free: 1.668 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.01084, allocations: 166.5 kB / 297.5 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.552e-05/0.01087, allocations: 55.36 kB / 297.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.556e-05/0.01092, allocations: 19.83 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.01099, allocations: 75.28 kB / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01099, allocations: 0 / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of Templates: time 0.003534/0.01453, allocations: 2.015 MB / 299.7 MB, free: 15.31 MB / 298.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 -ignoreHideResult -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.131890612654388]