Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 95.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.751e-05, allocations: 6.25 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1463/0.1463, allocations: 27.21 MB / 294.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02299/0.1693, allocations: 24.91 MB / 319.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003561/0.1697, allocations: 11.66 kB / 319.5 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007616/0.1704, allocations: 265.7 kB / 319.7 MB, free: 3.203 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006843/0.1711, allocations: 396.9 kB / 320.1 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01024/0.1813, allocations: 4.167 MB / 324.3 MB, free: 84 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.1829, allocations: 0.9544 MB / 325.2 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.1831, allocations: 82.28 kB / 325.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008646/0.1839, allocations: 0.5233 MB / 325.8 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004558/0.1844, allocations: 276.6 kB / 326.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.184e-05/0.1845, allocations: 36 kB / 326.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02259/0.2071, allocations: 10.17 MB / 336.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.2073, allocations: 120.9 kB / 336.4 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004151/0.2077, allocations: 163.7 kB / 336.6 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03864/0.2464, allocations: 12 MB / 348.6 MB, free: 7.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2464, allocations: 0 / 348.6 MB, free: 7.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2464, allocations: 5.281 kB / 348.6 MB, free: 7.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.2464, allocations: 0 / 348.6 MB, free: 7.977 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.007407/0.2538, allocations: 1.222 MB / 349.8 MB, free: 6.715 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.2539, allocations: 8.922 kB / 349.8 MB, free: 6.707 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007297/0.2546, allocations: 139.1 kB / 350 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.2551, allocations: 274.2 kB / 350.2 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.2551, allocations: 24.66 kB / 350.2 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.382e-05/0.2552, allocations: 36 kB / 350.3 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.2564, allocations: 0.6162 MB / 350.9 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.2564, allocations: 0 / 350.9 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-05/0.2564, allocations: 21.66 kB / 350.9 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.2565, allocations: 8 kB / 350.9 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007803/0.2572, allocations: 326.3 kB / 351.2 MB, free: 5.172 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004654/0.2619, allocations: 2.735 MB / 354 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.263, allocations: 302 kB / 354.3 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.2632, allocations: 133.3 kB / 354.4 MB, free: 1.922 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/0.2645, allocations: 403 kB / 354.8 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.2645, allocations: 37.39 kB / 354.8 MB, free: 1.484 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 2.195e-06/0.2645, allocations: 0 / 354.8 MB, free: 1.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.005352/0.2699, allocations: 1.177 MB / 356 MB, free: 268 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.27, allocations: 55.41 kB / 356.1 MB, free: 200 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.2704, allocations: 318.5 kB / 356.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.2704, allocations: 35.33 kB / 356.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.2706, allocations: 251.1 kB / 356.7 MB, free: 15.58 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.2708, allocations: 142.8 kB / 356.8 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.2709, allocations: 99.84 kB / 356.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003191/0.2712, allocations: 0.5235 MB / 357.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.2715, allocations: 113 kB / 357.5 MB, free: 14.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.2718, allocations: 283.9 kB / 357.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/0.2725, allocations: 426.8 kB / 358.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2725, allocations: 4 kB / 358.2 MB, free: 13.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009335/0.2734, allocations: 484.5 kB / 358.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.2735, allocations: 8 kB / 358.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.2735, allocations: 4 kB / 358.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00496/0.2784, allocations: 243.1 kB / 358.9 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.2788, allocations: 87.83 kB / 359 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.2812, allocations: 2.612 MB / 361.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.2814, allocations: 12 kB / 361.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.2815, allocations: 23.92 kB / 361.7 MB, free: 10.22 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002389/0.2817, allocations: 208.5 kB / 361.9 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.2818, allocations: 35.86 kB / 361.9 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.2828, allocations: 0.5502 MB / 362.5 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.2829, allocations: 4 kB / 362.5 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2829, allocations: 7.984 kB / 362.5 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008766/0.2837, allocations: 0.7076 MB / 363.2 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.2854, allocations: 0.9879 MB / 364.2 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2854, allocations: 0 / 364.2 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.2857, allocations: 63.91 kB / 364.2 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/0.2874, allocations: 171.4 kB / 364.4 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.2875, allocations: 19.91 kB / 364.4 MB, free: 7.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006619/0.2881, allocations: 0.8234 MB / 365.2 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.2881, allocations: 0 / 365.2 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.2893, allocations: 0.6922 MB / 365.9 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.016e-05/0.2894, allocations: 35.64 kB / 366 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.2894, allocations: 15.72 kB / 366 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.2896, allocations: 8 kB / 366 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.2897, allocations: 23.95 kB / 366 MB, free: 5.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.2897, allocations: 15.98 kB / 366 MB, free: 5.648 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002859/0.29, allocations: 237.1 kB / 366.3 MB, free: 5.418 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.29, allocations: 4 kB / 366.3 MB, free: 5.414 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.005528/0.2955, allocations: 0.7519 MB / 367 MB, free: 4.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03001/0.3255, allocations: 6.509 MB / 373.5 MB, free: 14.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.3268, allocations: 0.5132 MB / 374 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3268, allocations: 0 / 374 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004342/0.3272, allocations: 193 kB / 374.2 MB, free: 13.4 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.3284, allocations: 178.3 kB / 374.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.3301, allocations: 0.8077 MB / 375.2 MB, free: 12.4 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.3306, allocations: 204.9 kB / 375.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004105/0.331, allocations: 189.2 kB / 375.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.3311, allocations: 36.5 kB / 375.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.502e-06/0.3311, allocations: 0 / 375.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of Templates: time 0.04624/0.3773, allocations: 28.88 MB / 404.5 MB, free: 15.17 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.255153888021596]