Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.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.001575/0.001575, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 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.002039/0.002039, allocations: 212.3 kB / 23.74 MB, free: 4.688 MB / 14.72 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 47.92 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2688, allocations: 53.37 MB / 431.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.05184/0.3207, allocations: 38.33 MB / 469.5 MB, free: 380 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04065/0.3613, allocations: 30.84 MB / 0.4886 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007927/0.3621, allocations: 11.94 kB / 0.4886 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.3637, allocations: 433.6 kB / 0.489 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.3652, allocations: 0.5361 MB / 0.4895 GB, free: 464 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01718/0.3824, allocations: 5.282 MB / 0.4947 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.3848, allocations: 1.379 MB / 0.496 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.3852, allocations: 122.9 kB / 0.4962 GB, free: 9.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.3866, allocations: 0.545 MB / 0.4967 GB, free: 9.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009258/0.3875, allocations: 466.2 kB / 0.4971 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.3876, allocations: 52 kB / 0.4972 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02585/0.4135, allocations: 12.95 MB / 0.5098 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.4138, allocations: 163.4 kB / 0.51 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006177/0.4144, allocations: 318.8 kB / 0.5103 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03804/0.4525, allocations: 14.95 MB / 0.5249 GB, free: 12.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4525, allocations: 0 / 0.5249 GB, free: 12.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.408e-06/0.4525, allocations: 3.984 kB / 0.5249 GB, free: 12.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.542e-05/0.4525, allocations: 0 / 0.5249 GB, free: 12.17 MB / 446.1 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.008628/0.4611, allocations: 1.408 MB / 0.5263 GB, free: 10.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4612, allocations: 8.031 kB / 0.5263 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.4613, allocations: 90.52 kB / 0.5264 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008543/0.4622, allocations: 95.58 kB / 0.5265 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007687/0.463, allocations: 328.2 kB / 0.5268 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-05/0.463, allocations: 40.94 kB / 0.5268 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/0.4631, allocations: 44 kB / 0.5268 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.4645, allocations: 0.6205 MB / 0.5275 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.4646, allocations: 11.89 kB / 0.5275 GB, free: 9.418 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/0.4646, allocations: 20 kB / 0.5275 GB, free: 9.398 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.4646, allocations: 12 kB / 0.5275 GB, free: 9.387 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.4658, allocations: 0.5346 MB / 0.528 GB, free: 8.855 MB / 446.1 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.005157/0.471, allocations: 3.663 MB / 0.5316 GB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.472, allocations: 390.2 kB / 0.532 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.4723, allocations: 193.5 kB / 0.5322 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002012/0.4743, allocations: 0.6207 MB / 0.5328 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/0.4744, allocations: 46.88 kB / 0.5328 GB, free: 3.664 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.043e-06/0.4744, allocations: 0 / 0.5328 GB, free: 3.664 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.0103/0.4847, allocations: 1.894 MB / 0.5347 GB, free: 1.727 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.4847, allocations: 63.78 kB / 0.5347 GB, free: 1.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.4851, allocations: 312.4 kB / 0.535 GB, free: 1.336 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.4852, allocations: 33.7 kB / 0.535 GB, free: 1.297 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.4854, allocations: 233.2 kB / 0.5353 GB, free: 1.066 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.4855, allocations: 198.3 kB / 0.5355 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.4857, allocations: 118.3 kB / 0.5356 GB, free: 0.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.4859, allocations: 354.8 kB / 0.5359 GB, free: 404 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.4862, allocations: 181.2 kB / 0.5361 GB, free: 224 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2274/0.7137, allocations: 323 kB / 0.5364 GB, free: 96.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.7148, allocations: 0.5468 MB / 0.5369 GB, free: 96.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.7148, allocations: 1.562 kB / 0.5369 GB, free: 96.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001909/0.7167, allocations: 0.678 MB / 0.5376 GB, free: 96.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.7168, allocations: 11 kB / 0.5376 GB, free: 96.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.7168, allocations: 5.688 kB / 0.5376 GB, free: 96.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01162/0.7284, allocations: 475.9 kB / 0.5381 GB, free: 96.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/0.729, allocations: 145.8 kB / 0.5382 GB, free: 96.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.7307, allocations: 2.973 MB / 0.5411 GB, free: 93.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.7311, allocations: 23.94 kB / 0.5411 GB, free: 93.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/0.7311, allocations: 26.98 kB / 0.5411 GB, free: 93.17 MB / 446.1 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.0002689/0.7314, allocations: 192.6 kB / 0.5413 GB, free: 93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.7317, allocations: 45.92 kB / 0.5414 GB, free: 93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.7331, allocations: 1.078 MB / 0.5424 GB, free: 92.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.7332, allocations: 10.36 kB / 0.5424 GB, free: 92.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.7332, allocations: 1.031 kB / 0.5424 GB, free: 92.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001041/0.7342, allocations: 1.114 MB / 0.5435 GB, free: 91.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.7364, allocations: 1.735 MB / 0.5452 GB, free: 90.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.7364, allocations: 2.438 kB / 0.5452 GB, free: 90.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.7368, allocations: 112.4 kB / 0.5453 GB, free: 90.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003083/0.7399, allocations: 349.2 kB / 0.5457 GB, free: 90.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-05/0.7399, allocations: 13.8 kB / 0.5457 GB, free: 90.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004886/0.7404, allocations: 1.155 MB / 0.5468 GB, free: 89.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7404, allocations: 0 / 0.5468 GB, free: 89.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.7418, allocations: 1.15 MB / 0.5479 GB, free: 89.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.742, allocations: 47.09 kB / 0.548 GB, free: 89.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-05/0.7421, allocations: 17.67 kB / 0.548 GB, free: 89.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.7424, allocations: 11.97 kB / 0.548 GB, free: 89.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.7425, allocations: 40.59 kB / 0.548 GB, free: 89.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.7425, allocations: 26.92 kB / 0.5481 GB, free: 89.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002937/0.7428, allocations: 253.2 kB / 0.5483 GB, free: 89 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7428, allocations: 0 / 0.5483 GB, free: 89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005667/0.7485, allocations: 0.9823 MB / 0.5493 GB, free: 88.91 MB / 446.1 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.03098/0.7795, allocations: 9.47 MB / 0.5585 GB, free: 82.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.7812, allocations: 0.69 MB / 0.5592 GB, free: 82.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.7812, allocations: 4 kB / 0.5592 GB, free: 82.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005931/0.7818, allocations: 349.6 kB / 0.5595 GB, free: 81.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.7832, allocations: 260.5 kB / 0.5598 GB, free: 81.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.7941, allocations: 5.36 MB / 0.565 GB, free: 76.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.7944, allocations: 0.8702 MB / 0.5659 GB, free: 75.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005405/0.7949, allocations: 233.7 kB / 0.5661 GB, free: 75.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.7952, allocations: 195.4 kB / 0.5663 GB, free: 75.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7952, allocations: 4 kB / 0.5663 GB, free: 75.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07681/0.872, allocations: 43.03 MB / 0.6083 GB, free: 32.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.51, allocations: 14.95 kB / 0.6083 GB, free: 32.34 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.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: 20.98496933002025]