Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.001566/0.001566, allocations: 107.6 kB / 21.18 MB, free: 0.5781 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.002085/0.002085, allocations: 211.8 kB / 24.48 MB, free: 3.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 55.92 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.251, allocations: 49.16 MB / 396.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02554/0.2765, allocations: 24.63 MB / 421 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02819/0.3047, allocations: 22.07 MB / 443.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/0.3051, allocations: 4 kB / 443.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008435/0.3059, allocations: 270.4 kB / 443.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008382/0.3068, allocations: 377.9 kB / 443.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01113/0.3179, allocations: 4.093 MB / 447.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.3191, allocations: 0.9698 MB / 448.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.3193, allocations: 73.19 kB / 448.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005928/0.3199, allocations: 398.6 kB / 449.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.3203, allocations: 298.8 kB / 449.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.999e-05/0.3204, allocations: 36 kB / 449.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01998/0.3404, allocations: 10.13 MB / 459.7 MB, free: 3.641 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.3406, allocations: 119.6 kB / 459.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003198/0.3409, allocations: 199.3 kB / 460 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03337/0.3743, allocations: 11.5 MB / 471.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3743, allocations: 0 / 471.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3743, allocations: 0 / 471.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.3743, allocations: 0 / 471.5 MB, free: 7.812 MB / 382.1 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.005827/0.3801, allocations: 1.097 MB / 472.6 MB, free: 6.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3802, allocations: 11.98 kB / 472.6 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.938e-05/0.3802, allocations: 70.53 kB / 472.7 MB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005349/0.3808, allocations: 71.72 kB / 472.7 MB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005015/0.3813, allocations: 264.6 kB / 473 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.3813, allocations: 24.66 kB / 473 MB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.3814, allocations: 35.94 kB / 473.1 MB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009506/0.3823, allocations: 0.6112 MB / 473.7 MB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.3823, allocations: 4 kB / 473.7 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.3824, allocations: 12 kB / 473.7 MB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.3824, allocations: 8 kB / 473.7 MB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.3831, allocations: 390.3 kB / 474.1 MB, free: 5.086 MB / 382.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.003601/0.3867, allocations: 2.242 MB / 476.3 MB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.3874, allocations: 278.8 kB / 476.6 MB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.3876, allocations: 124.8 kB / 476.7 MB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.3891, allocations: 471.4 kB / 477.2 MB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.3891, allocations: 42.55 kB / 477.2 MB, free: 1.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.3891, allocations: 0 / 477.2 MB, free: 1.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005/0.3941, allocations: 1.135 MB / 478.3 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.3942, allocations: 55.41 kB / 478.4 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.3945, allocations: 265.8 kB / 478.7 MB, free: 344 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.3945, allocations: 33.7 kB / 478.7 MB, free: 304 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.3947, allocations: 200.4 kB / 478.9 MB, free: 100 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.3948, allocations: 123.1 kB / 479 MB, free: 15.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.3949, allocations: 78.12 kB / 479.1 MB, free: 15.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3951, allocations: 338.8 kB / 479.4 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.3953, allocations: 116.8 kB / 479.5 MB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.3956, allocations: 226.1 kB / 479.8 MB, free: 15.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005359/0.3961, allocations: 369.5 kB / 480.1 MB, free: 14.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3961, allocations: 4 kB / 480.1 MB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008354/0.3969, allocations: 462.5 kB / 480.6 MB, free: 14.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.397, allocations: 8 kB / 480.6 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.397, allocations: 0 / 480.6 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004424/0.4014, allocations: 237.9 kB / 480.8 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.4017, allocations: 91.83 kB / 480.9 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.4035, allocations: 1.839 MB / 482.7 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.4037, allocations: 16.06 kB / 482.8 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.4037, allocations: 16 kB / 482.8 MB, free: 11.94 MB / 398.1 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.0002051/0.4039, allocations: 169.9 kB / 482.9 MB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.404, allocations: 39.73 kB / 483 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.405, allocations: 0.7132 MB / 483.7 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.4051, allocations: 7.984 kB / 483.7 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.4051, allocations: 0 / 483.7 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000902/0.406, allocations: 0.8828 MB / 484.6 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.4076, allocations: 1.136 MB / 485.7 MB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.4076, allocations: 0 / 485.7 MB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.4078, allocations: 63.91 kB / 485.8 MB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/0.4093, allocations: 180.5 kB / 486 MB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.4093, allocations: 15.94 kB / 486 MB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003876/0.4097, allocations: 0.5797 MB / 486.5 MB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4097, allocations: 4.094 kB / 486.6 MB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009758/0.4107, allocations: 0.7458 MB / 487.3 MB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.4107, allocations: 35.69 kB / 487.3 MB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.4108, allocations: 12 kB / 487.3 MB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.411, allocations: 7.938 kB / 487.4 MB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.411, allocations: 27.95 kB / 487.4 MB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.411, allocations: 8 kB / 487.4 MB, free: 7.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002462/0.4113, allocations: 223.1 kB / 487.6 MB, free: 6.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4113, allocations: 0 / 487.6 MB, free: 6.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003908/0.4152, allocations: 0.7519 MB / 488.4 MB, free: 6.141 MB / 398.1 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.02636/0.4416, allocations: 7.585 MB / 495.9 MB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.4427, allocations: 466 kB / 496.4 MB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4427, allocations: 4 kB / 496.4 MB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000452/0.4431, allocations: 212.9 kB / 496.6 MB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4443, allocations: 196.5 kB / 496.8 MB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008195/0.4525, allocations: 4.065 MB / 0.4891 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.4527, allocations: 204.9 kB / 0.4893 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004424/0.4531, allocations: 187.8 kB / 0.4895 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.4533, allocations: 139.4 kB / 0.4896 GB, free: 8.852 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4533, allocations: 0 / 0.4896 GB, free: 8.852 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07595/0.5293, allocations: 34.88 MB / 0.5237 GB, free: 5.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.71, allocations: 4 kB / 0.5237 GB, free: 5.836 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 18.593846585601568]