Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 157.2 kB / 24.99 MB, free: 8.805 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9593/0.9593, allocations: 177 MB / 205.2 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.245e-05, allocations: 2.312 kB / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.13/0.1301, allocations: 38.82 MB / 311.8 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02067/0.1507, allocations: 30.71 MB / 342.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003003/0.151, allocations: 15.88 kB / 342.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007464/0.1518, allocations: 373.7 kB / 342.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007286/0.1525, allocations: 0.5628 MB / 343.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008957/0.1615, allocations: 5.347 MB / 348.8 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.1625, allocations: 1.382 MB / 350.2 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.1627, allocations: 119 kB / 350.3 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007159/0.1634, allocations: 0.7285 MB / 351 MB, free: 3.102 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.1638, allocations: 398.8 kB / 351.4 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.1638, allocations: 52 kB / 351.5 MB, free: 2.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01298/0.1768, allocations: 12.48 MB / 364 MB, free: 6.148 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.177, allocations: 155.5 kB / 364.1 MB, free: 5.996 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.1772, allocations: 251.6 kB / 364.4 MB, free: 5.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01916/0.1964, allocations: 15.27 MB / 379.6 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1964, allocations: 0 / 379.6 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1964, allocations: 0 / 379.6 MB, free: 6.457 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1964, allocations: 0 / 379.6 MB, free: 6.457 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.005901/0.2023, allocations: 1.496 MB / 381.1 MB, free: 4.918 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2023, allocations: 11.98 kB / 381.1 MB, free: 4.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005845/0.2029, allocations: 190.8 kB / 381.3 MB, free: 4.719 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.2033, allocations: 335.7 kB / 381.7 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.2033, allocations: 33 kB / 381.7 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/0.2033, allocations: 55.95 kB / 381.7 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.2041, allocations: 0.7244 MB / 382.5 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.2041, allocations: 4 kB / 382.5 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.2041, allocations: 16 kB / 382.5 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.2041, allocations: 19.94 kB / 382.5 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.2046, allocations: 345.6 kB / 382.8 MB, free: 3.066 MB / 330.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.002338/0.207, allocations: 3.277 MB / 386.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005521/0.2075, allocations: 313.8 kB / 386.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.2077, allocations: 136.2 kB / 386.6 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000777/0.2085, allocations: 0.5349 MB / 387.1 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2085, allocations: 45.77 kB / 387.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 1.493e-06/0.2085, allocations: 0 / 387.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=54): time 0.005493/0.214, allocations: 1.566 MB / 388.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.214, allocations: 59.91 kB / 388.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.2142, allocations: 320.1 kB / 389.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.2142, allocations: 37.7 kB / 389.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2144, allocations: 287.7 kB / 389.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.644e-05/0.2145, allocations: 198.3 kB / 389.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.2146, allocations: 123.9 kB / 389.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2147, allocations: 0.5235 MB / 390.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.2148, allocations: 101.2 kB / 390.3 MB, free: 11.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.2151, allocations: 316.7 kB / 390.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.2155, allocations: 472.2 kB / 391.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2155, allocations: 8 kB / 391.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007906/0.2163, allocations: 0.569 MB / 391.7 MB, free: 9.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2163, allocations: 12.72 kB / 391.7 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.2163, allocations: 7.125 kB / 391.7 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006418/0.2228, allocations: 454.4 kB / 392.1 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.2231, allocations: 143.8 kB / 392.3 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.2246, allocations: 4.23 MB / 396.5 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.2247, allocations: 16 kB / 396.5 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.2247, allocations: 31.98 kB / 396.6 MB, free: 4.711 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.2249, allocations: 200.6 kB / 396.8 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.225, allocations: 87.41 kB / 396.8 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007931/0.2258, allocations: 0.7231 MB / 397.6 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.2258, allocations: 11.98 kB / 397.6 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.2258, allocations: 0 / 397.6 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005819/0.2264, allocations: 0.7643 MB / 398.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.2275, allocations: 1.214 MB / 399.6 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2275, allocations: 2.938 kB / 399.6 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.2278, allocations: 107.8 kB / 399.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001372/0.2291, allocations: 314.7 kB / 400 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.2292, allocations: 19.98 kB / 400 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005041/0.2297, allocations: 1.592 MB / 401.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2297, allocations: 4 kB / 401.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008318/0.2305, allocations: 0.8254 MB / 402.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.2305, allocations: 51.59 kB / 402.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.2306, allocations: 15.98 kB / 402.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.2307, allocations: 15.98 kB / 402.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.2307, allocations: 36.42 kB / 402.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.2308, allocations: 20 kB / 402.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001455/0.2309, allocations: 235 kB / 402.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2309, allocations: 3.938 kB / 402.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003876/0.2348, allocations: 0.9857 MB / 403.8 MB, free: 13.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.01853/0.2533, allocations: 7.998 MB / 411.8 MB, free: 5.234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009297/0.2542, allocations: 0.6068 MB / 412.4 MB, free: 4.602 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2543, allocations: 4 kB / 412.4 MB, free: 4.598 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.2546, allocations: 256.8 kB / 412.6 MB, free: 4.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/0.2553, allocations: 247.7 kB / 412.9 MB, free: 4.113 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.2569, allocations: 1.143 MB / 414 MB, free: 2.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.101e-05/0.257, allocations: 136 kB / 414.1 MB, free: 2.785 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003182/0.2573, allocations: 241.7 kB / 414.4 MB, free: 2.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.496e-05/0.2574, allocations: 52.48 kB / 414.4 MB, free: 2.496 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2574, allocations: 0 / 414.4 MB, free: 2.496 MB / 362.7 MB Notification: Performance of Templates: time 0.1267/0.3841, allocations: 36.11 MB / 450.5 MB, free: 115.2 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.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: 5.006274122977629]