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.001418/0.001418, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001033/0.001033, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 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 0.9302/0.9302, allocations: 173.3 MB / 201.5 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] 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.733e-06/1.733e-06, allocations: 0 / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.498e-05, allocations: 2.312 kB / 268.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.135/0.1351, allocations: 27.28 MB / 295.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01909/0.1541, allocations: 24.92 MB / 320.3 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.1545, allocations: 11.09 kB / 320.3 MB, free: 3.074 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008072/0.1554, allocations: 270.4 kB / 320.6 MB, free: 2.941 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007511/0.1561, allocations: 392.4 kB / 320.9 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01082/0.1669, allocations: 4.167 MB / 325.1 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.1681, allocations: 0.9503 MB / 326.1 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.1683, allocations: 84.75 kB / 326.1 MB, free: 15.08 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008555/0.1692, allocations: 0.522 MB / 326.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004066/0.1696, allocations: 280.9 kB / 326.9 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.1697, allocations: 36 kB / 327 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01624/0.1859, allocations: 10.16 MB / 337.1 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.1861, allocations: 119.6 kB / 337.2 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003583/0.1865, allocations: 169 kB / 337.4 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02259/0.2091, allocations: 11.79 MB / 349.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2091, allocations: 0 / 349.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2091, allocations: 0.8125 kB / 349.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.513e-06/0.2091, allocations: 0 / 349.2 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.005639/0.2147, allocations: 1.19 MB / 350.4 MB, free: 6.746 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2148, allocations: 13.73 kB / 350.4 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004584/0.2152, allocations: 143.9 kB / 350.5 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.2155, allocations: 268.3 kB / 350.8 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.2156, allocations: 25.47 kB / 350.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.2156, allocations: 39.94 kB / 350.9 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/0.2164, allocations: 0.5343 MB / 351.4 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.2164, allocations: 3.984 kB / 351.4 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.2165, allocations: 24.75 kB / 351.4 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.2165, allocations: 8 kB / 351.4 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.2169, allocations: 241.2 kB / 351.7 MB, free: 5.355 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.002102/0.219, allocations: 2.604 MB / 354.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.2194, allocations: 221.7 kB / 354.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.2195, allocations: 88.39 kB / 354.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006426/0.2202, allocations: 394.9 kB / 355 MB, free: 1.965 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.2202, allocations: 45.33 kB / 355 MB, free: 1.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.853e-06/0.2202, allocations: 1.312 kB / 355 MB, free: 1.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.003175/0.2234, allocations: 0.9749 MB / 356 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.2234, allocations: 59.34 kB / 356.1 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.2236, allocations: 283.9 kB / 356.3 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.2236, allocations: 33.7 kB / 356.4 MB, free: 500 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.2237, allocations: 243.1 kB / 356.6 MB, free: 252 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.702e-05/0.2238, allocations: 132.2 kB / 356.7 MB, free: 120 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/0.2239, allocations: 83.84 kB / 356.8 MB, free: 28 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.224, allocations: 0.504 MB / 357.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.2241, allocations: 68.95 kB / 357.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.2243, allocations: 221.3 kB / 357.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.2246, allocations: 335.5 kB / 357.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2246, allocations: 0 / 357.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007635/0.2254, allocations: 388.3 kB / 358.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2254, allocations: 8 kB / 358.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2254, allocations: 7.938 kB / 358.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002854/0.2283, allocations: 223.1 kB / 358.5 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.2285, allocations: 92.27 kB / 358.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.2296, allocations: 2.536 MB / 361.2 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2297, allocations: 8 kB / 361.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.2298, allocations: 23.94 kB / 361.2 MB, free: 11.32 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.0001309/0.2299, allocations: 192.6 kB / 361.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.2299, allocations: 39.81 kB / 361.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005821/0.2305, allocations: 491.9 kB / 361.9 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.2305, allocations: 7.984 kB / 361.9 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.2305, allocations: 0 / 361.9 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004467/0.231, allocations: 0.6528 MB / 362.6 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008401/0.2318, allocations: 0.8582 MB / 363.4 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.2318, allocations: 4.859 kB / 363.4 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.232, allocations: 63.91 kB / 363.5 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007399/0.2327, allocations: 163.3 kB / 363.6 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.2327, allocations: 12 kB / 363.7 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002524/0.233, allocations: 0.7922 MB / 364.5 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.233, allocations: 4.062 kB / 364.5 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005485/0.2335, allocations: 0.5681 MB / 365 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.2336, allocations: 35.69 kB / 365.1 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.2336, allocations: 7.953 kB / 365.1 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.2337, allocations: 12 kB / 365.1 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.2337, allocations: 19.95 kB / 365.1 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.2337, allocations: 15.98 kB / 365.1 MB, free: 7.188 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003781/0.2341, allocations: 217.1 kB / 365.3 MB, free: 6.973 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2341, allocations: 0 / 365.3 MB, free: 6.973 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003679/0.2378, allocations: 0.748 MB / 366.1 MB, free: 6.223 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.01745/0.2552, allocations: 6.518 MB / 372.6 MB, free: 15.69 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007669/0.256, allocations: 433.5 kB / 373 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.256, allocations: 0.875 kB / 373 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002267/0.2562, allocations: 149 kB / 373.2 MB, free: 15.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000642/0.2569, allocations: 182.8 kB / 373.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.2583, allocations: 0.7802 MB / 374.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.226e-05/0.2584, allocations: 111 kB / 374.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002835/0.2586, allocations: 189 kB / 374.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.2587, allocations: 36.5 kB / 374.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.854e-06/0.2587, allocations: 0 / 374.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of Templates: time 0.02848/0.2872, allocations: 28.87 MB / 403.3 MB, free: 0.9844 MB / 346.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.535871570929885]