Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001338/0.001338, 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.001642/0.001642, 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.9942/0.9942, 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.1363/0.1363, allocations: 32.8 MB / 294.6 MB, free: 15.45 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 323.3 MB, free: 2.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.909e-05, allocations: 6.25 kB / 323.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002201/0.00222, allocations: 1.703 MB / 325 MB, free: 1.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007289/0.002949, allocations: 0.5413 MB / 325.5 MB, free: 488 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.002999, allocations: 4 kB / 325.5 MB, free: 484 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.003231, allocations: 79.64 kB / 325.6 MB, free: 404 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.003443, allocations: 99.53 kB / 325.7 MB, free: 304 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.003661, allocations: 95.62 kB / 325.8 MB, free: 208 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.003793, allocations: 83.8 kB / 325.9 MB, free: 124 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.739e-05/0.00387, allocations: 8 kB / 325.9 MB, free: 116 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.268e-05/0.003933, allocations: 47.88 kB / 325.9 MB, free: 68 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.364e-05/0.004016, allocations: 51.88 kB / 326 MB, free: 16 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.004027, allocations: 3.938 kB / 326 MB, free: 12 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.674e-05/0.004114, allocations: 52.08 kB / 326 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.777e-05/0.004152, allocations: 19.92 kB / 326.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.004174, allocations: 15.92 kB / 326.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.004306, allocations: 95.59 kB / 326.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.004308, allocations: 0 / 326.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004308, allocations: 0 / 326.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.004312, 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.0002918/0.004604, allocations: 316.2 kB / 326.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.004634, allocations: 15.92 kB / 326.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.004662, allocations: 12.92 kB / 326.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.004782, allocations: 142.3 kB / 326.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.00479, allocations: 4.375 kB / 326.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.004805, allocations: 4.375 kB / 326.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.777e-05/0.004883, allocations: 58.88 kB / 326.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.004891, allocations: 192 / 326.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.004899, allocations: 12.12 kB / 326.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.004904, allocations: 0 / 326.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.064e-05/0.004925, allocations: 7.984 kB / 326.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.005105, allocations: 171 kB / 326.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.176e-05/0.005147, allocations: 22.58 kB / 326.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.005162, allocations: 20.84 kB / 326.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.005176, allocations: 4 kB / 326.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.005195, allocations: 38.58 kB / 327 MB, free: 14.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.005196, allocations: 0 / 327 MB, free: 14.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003764/0.005572, allocations: 141.5 kB / 327.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.005599, allocations: 59.39 kB / 327.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.005708, allocations: 176.3 kB / 327.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.005718, allocations: 25.7 kB / 327.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.005754, allocations: 100.1 kB / 327.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.005777, allocations: 31.73 kB / 327.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.005804, allocations: 21.7 kB / 327.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.005875, allocations: 326.8 kB / 327.9 MB, free: 14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.005887, allocations: 8 kB / 327.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.08e-05/0.005898, allocations: 4 kB / 327.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.005931, allocations: 28.83 kB / 327.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.005932, allocations: 0 / 327.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.908e-05/0.005991, allocations: 61.55 kB / 327.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.006002, allocations: 8 kB / 328 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.006006, allocations: 320 / 328 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.006015, allocations: 4 kB / 328 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.00607, allocations: 19.98 kB / 328 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.006072, allocations: 0 / 328 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.006089, allocations: 4 kB / 328 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.006096, allocations: 7.969 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.33e-05/0.00615, allocations: 116.7 kB / 328.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.006169, allocations: 15.81 kB / 328.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.349e-05/0.006262, allocations: 71.12 kB / 328.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.006265, allocations: 4 kB / 328.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.006267, allocations: 0 / 328.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.006269, allocations: 4 kB / 328.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.006481, allocations: 247.5 kB / 328.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.006483, allocations: 0 / 328.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.006519, allocations: 15.98 kB / 328.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.006521, allocations: 4 kB / 328.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-06/0.006525, allocations: 0 / 328.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.006526, allocations: 0 / 328.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.006528, allocations: 3.938 kB / 328.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.03e-05/0.006609, allocations: 164.3 kB / 328.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.006616, allocations: 7.906 kB / 328.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.006627, allocations: 12.02 kB / 328.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.122e-05/0.006659, allocations: 0 / 328.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.006681, allocations: 7.984 kB / 328.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.006685, allocations: 4 kB / 328.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.85e-05/0.006724, allocations: 60.64 kB / 328.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006724, allocations: 0 / 328.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001347/0.006858, allocations: 23.92 kB / 328.7 MB, free: 13.03 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.001142/0.008, allocations: 0.5708 MB / 329.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.23e-05/0.008073, allocations: 36.77 kB / 329.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.008076, allocations: 0 / 329.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.048e-05/0.008096, allocations: 20.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.0001539/0.00825, allocations: 23.98 kB / 329.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.008534, allocations: 223.1 kB / 329.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.003e-05/0.008574, allocations: 75.25 kB / 329.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.92e-05/0.008603, 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.805e-05/0.008651, allocations: 63.36 kB / 329.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.008652, allocations: 0 / 329.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of Templates: time 0.002964/0.01162, allocations: 1.491 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.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.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.019677897915244]