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.001748/0.001748, allocations: 112.4 kB / 21.19 MB, free: 0.7031 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.002102/0.002102, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.457/1.457, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.002735/0.002735, allocations: 51.92 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2943, allocations: 49.16 MB / 396.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03833/0.3326, allocations: 26.99 MB / 423.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03119/0.3638, allocations: 25.05 MB / 448.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004457/0.3642, allocations: 11.94 kB / 448.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009758/0.3652, allocations: 302.3 kB / 448.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.3662, allocations: 385.8 kB / 449.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01264/0.3789, allocations: 4.131 MB / 453.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.3804, allocations: 0.9581 MB / 454.2 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002455/0.3807, allocations: 81.23 kB / 454.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008619/0.3815, allocations: 398.5 kB / 454.6 MB, free: 8.887 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000492/0.382, allocations: 318.8 kB / 455 MB, free: 8.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.224e-05/0.3821, allocations: 40 kB / 455 MB, free: 8.535 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02265/0.4048, allocations: 10.54 MB / 465.5 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.405, allocations: 103.7 kB / 465.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003959/0.4054, allocations: 231.1 kB / 465.9 MB, free: 13.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0302/0.4356, allocations: 11.5 MB / 477.4 MB, free: 2.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.4356, allocations: 0 / 477.4 MB, free: 2.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4356, allocations: 0 / 477.4 MB, free: 2.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.4356, allocations: 0 / 477.4 MB, free: 2.137 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.006091/0.4417, allocations: 1.117 MB / 478.5 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4418, allocations: 11.98 kB / 478.5 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.06e-05/0.4419, allocations: 74.53 kB / 478.6 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005678/0.4424, allocations: 63.78 kB / 478.6 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.4429, allocations: 264.6 kB / 478.9 MB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.4429, allocations: 20.66 kB / 478.9 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.443, allocations: 39.94 kB / 478.9 MB, free: 496 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009153/0.4439, allocations: 455.8 kB / 479.4 MB, free: 0 / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.895e-05/0.444, allocations: 12.06 kB / 479.4 MB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.444, allocations: 12 kB / 479.4 MB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.444, allocations: 8 kB / 479.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.4448, allocations: 394.3 kB / 479.8 MB, free: 15.58 MB / 398.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.004104/0.4489, allocations: 2.818 MB / 482.6 MB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007291/0.4496, allocations: 278.8 kB / 482.9 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.4498, allocations: 128.8 kB / 483 MB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/0.4513, allocations: 467.5 kB / 483.5 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.4514, allocations: 34.56 kB / 483.5 MB, free: 11.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.615e-06/0.4514, allocations: 0 / 483.5 MB, free: 11.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0052/0.4566, allocations: 1.147 MB / 484.6 MB, free: 10.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.4566, allocations: 59.39 kB / 484.7 MB, free: 10.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.4569, allocations: 261.8 kB / 485 MB, free: 10.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.457, allocations: 29.7 kB / 485 MB, free: 10.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.4571, allocations: 200.4 kB / 485.2 MB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.4572, allocations: 130.9 kB / 485.3 MB, free: 9.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.4574, allocations: 82.08 kB / 485.4 MB, free: 9.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4575, allocations: 338.8 kB / 485.7 MB, free: 9.344 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.4577, allocations: 112.8 kB / 485.8 MB, free: 9.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.458, allocations: 226.1 kB / 486.1 MB, free: 8.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/0.4586, allocations: 373.5 kB / 486.4 MB, free: 8.547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4586, allocations: 0 / 486.4 MB, free: 8.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009215/0.4595, allocations: 466.7 kB / 486.9 MB, free: 8.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4595, allocations: 8 kB / 486.9 MB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4595, allocations: 0 / 486.9 MB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004724/0.4643, allocations: 233.4 kB / 487.1 MB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.4647, allocations: 88.27 kB / 487.2 MB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.4665, allocations: 1.847 MB / 489 MB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.4668, allocations: 12 kB / 489.1 MB, free: 5.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.4668, allocations: 16 kB / 489.1 MB, free: 5.73 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.0002545/0.467, allocations: 165.7 kB / 489.2 MB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.4672, allocations: 39.84 kB / 489.3 MB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.4683, allocations: 0.7095 MB / 490 MB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.4683, allocations: 4 kB / 490 MB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.4683, allocations: 0 / 490 MB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009779/0.4693, allocations: 0.8791 MB / 490.9 MB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.4711, allocations: 1.19 MB / 492.1 MB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.4711, allocations: 0 / 492.1 MB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.4714, allocations: 67.91 kB / 492.1 MB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/0.4731, allocations: 168.6 kB / 492.3 MB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.4731, allocations: 15.94 kB / 492.3 MB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005053/0.4736, allocations: 0.5835 MB / 492.9 MB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4736, allocations: 3.938 kB / 492.9 MB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.4747, allocations: 0.742 MB / 493.6 MB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.4748, allocations: 39.67 kB / 493.7 MB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.4749, allocations: 11.94 kB / 493.7 MB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.4751, allocations: 8.156 kB / 493.7 MB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.4751, allocations: 31.89 kB / 493.7 MB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.4752, allocations: 11.98 kB / 493.7 MB, free: 0.8633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002695/0.4754, allocations: 223.1 kB / 494 MB, free: 0.6445 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4754, allocations: 0 / 494 MB, free: 0.6445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004494/0.4799, allocations: 0.7482 MB / 494.7 MB, free: 15.89 MB / 414.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.02661/0.5065, allocations: 7.589 MB / 0.4905 GB, free: 8.258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.5077, allocations: 466 kB / 0.491 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5077, allocations: 0.875 kB / 0.491 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004097/0.5081, allocations: 216 kB / 0.4912 GB, free: 7.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.5092, allocations: 196.6 kB / 0.4914 GB, free: 7.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00909/0.5183, allocations: 4.064 MB / 0.4953 GB, free: 3.137 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.5188, allocations: 0.8013 MB / 0.4961 GB, free: 2.312 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004922/0.5193, allocations: 195.8 kB / 0.4963 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.5195, allocations: 135.4 kB / 0.4964 GB, free: 1.992 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5195, allocations: 0 / 0.4964 GB, free: 1.992 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07903/0.5986, allocations: 34.21 MB / 0.5298 GB, free: 15.65 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.12, allocations: 7.969 kB / 0.5298 GB, free: 15.64 MB / 462.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: 19.222068734998174]