Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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.000791/0.000791, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0007828/0.0007828, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.9038/0.9038, allocations: 177 MB / 204.1 MB, free: 5.742 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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 324.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.864e-05, allocations: 3.266 kB / 324.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01948/0.0195, allocations: 24.53 MB / 349.1 MB, free: 7.133 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.03546, allocations: 22.07 MB / 371.1 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003255/0.03578, allocations: 7.938 kB / 371.1 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.03646, allocations: 274.3 kB / 371.4 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005727/0.03703, allocations: 393.5 kB / 371.8 MB, free: 336 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008128/0.04516, allocations: 4.178 MB / 376 MB, free: 12.14 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008106/0.04597, allocations: 0.9577 MB / 376.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.04615, allocations: 85.02 kB / 377 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006237/0.04677, allocations: 0.522 MB / 377.5 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.04704, allocations: 267.2 kB / 377.8 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.04708, allocations: 44 kB / 377.8 MB, free: 10.26 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0108/0.05788, allocations: 10.16 MB / 388 MB, free: 84 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.05803, allocations: 119.6 kB / 388.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.05817, allocations: 171.7 kB / 388.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.07253, allocations: 12 MB / 400.3 MB, free: 3.785 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.07253, allocations: 4 kB / 400.3 MB, free: 3.781 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.07253, allocations: 0 / 400.3 MB, free: 3.781 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.07254, allocations: 0 / 400.3 MB, free: 3.781 MB / 362.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.003116/0.07565, allocations: 1.09 MB / 401.4 MB, free: 2.656 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.07569, allocations: 19.98 kB / 401.4 MB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.649e-05/0.07575, allocations: 70.53 kB / 401.4 MB, free: 2.559 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003187/0.07607, allocations: 67.73 kB / 401.5 MB, free: 2.492 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.07642, allocations: 268.5 kB / 401.8 MB, free: 2.203 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.07644, allocations: 24.59 kB / 401.8 MB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.977e-05/0.07649, allocations: 36 kB / 401.8 MB, free: 2.141 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.07708, allocations: 0.6035 MB / 402.4 MB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.07709, allocations: 11.89 kB / 402.4 MB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.07712, allocations: 16 kB / 402.5 MB, free: 1.438 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.07713, allocations: 8 kB / 402.5 MB, free: 1.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/0.07755, allocations: 386.3 kB / 402.8 MB, free: 1.051 MB / 362.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.002096/0.07965, allocations: 2.215 MB / 405.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.08005, allocations: 286.8 kB / 405.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.08018, allocations: 128.8 kB / 405.5 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006922/0.08087, allocations: 463.4 kB / 405.9 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.0809, allocations: 46.55 kB / 406 MB, free: 13.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 4.619e-06/0.0809, allocations: 7.938 kB / 406 MB, free: 13.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002938/0.08384, allocations: 1.156 MB / 407.1 MB, free: 12.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.08387, allocations: 55.41 kB / 407.2 MB, free: 12.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.08405, allocations: 265.7 kB / 407.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.08407, allocations: 33.7 kB / 407.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.08417, allocations: 192.4 kB / 407.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.08422, allocations: 126.9 kB / 407.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/0.0843, allocations: 82.14 kB / 407.9 MB, free: 11.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.305e-05/0.08438, allocations: 338.8 kB / 408.2 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.08451, allocations: 117 kB / 408.3 MB, free: 11.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.08469, allocations: 225.5 kB / 408.5 MB, free: 11.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.08504, allocations: 381.5 kB / 408.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.08504, allocations: 0 / 408.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005482/0.08559, allocations: 454.8 kB / 409.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.0856, allocations: 11.88 kB / 409.4 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.08561, allocations: 11.94 kB / 409.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002756/0.08836, allocations: 249.4 kB / 409.6 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.08855, allocations: 87.89 kB / 409.7 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.08973, allocations: 1.839 MB / 411.5 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.999e-05/0.08983, allocations: 12 kB / 411.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.08985, allocations: 19.98 kB / 411.6 MB, free: 7.887 MB / 378.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.0001244/0.08998, allocations: 161.7 kB / 411.7 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.023e-05/0.09006, allocations: 31.81 kB / 411.8 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006494/0.09071, allocations: 0.7066 MB / 412.5 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.09072, allocations: 15.94 kB / 412.5 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-06/0.09072, allocations: 8 kB / 412.5 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000523/0.09124, allocations: 0.8764 MB / 413.4 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009149/0.09216, allocations: 1.141 MB / 414.5 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.09216, allocations: 3.938 kB / 414.5 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.0923, allocations: 59.91 kB / 414.6 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006869/0.09298, allocations: 176.6 kB / 414.7 MB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.093, allocations: 8 kB / 414.7 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002284/0.09323, allocations: 0.5796 MB / 415.3 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.09323, allocations: 0 / 415.3 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006401/0.09387, allocations: 0.7471 MB / 416.1 MB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.0939, allocations: 39.73 kB / 416.1 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.09393, allocations: 8 kB / 416.1 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.09402, allocations: 4 kB / 416.1 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.09405, allocations: 23.95 kB / 416.2 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.09407, allocations: 23.92 kB / 416.2 MB, free: 3.066 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.0942, allocations: 223.2 kB / 416.4 MB, free: 2.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0942, allocations: 0 / 416.4 MB, free: 2.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002457/0.09666, allocations: 0.7558 MB / 417.1 MB, free: 2.09 MB / 378.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.01675/0.1134, allocations: 7.699 MB / 424.8 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006766/0.1141, allocations: 466.8 kB / 425.3 MB, free: 9.875 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1141, allocations: 4 kB / 425.3 MB, free: 9.871 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.1143, allocations: 212 kB / 425.5 MB, free: 9.664 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006586/0.115, allocations: 192.6 kB / 425.7 MB, free: 9.477 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.1196, allocations: 3.99 MB / 429.7 MB, free: 5.309 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.1198, allocations: 204.8 kB / 429.9 MB, free: 5.086 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002776/0.1201, allocations: 194.9 kB / 430.1 MB, free: 4.891 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.1202, allocations: 136.5 kB / 430.2 MB, free: 4.758 MB / 394.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1202, allocations: 0 / 430.2 MB, free: 4.758 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1862/0.3063, allocations: 35.22 MB / 465.4 MB, free: 98.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.808/9.114, allocations: 8.766 kB / 465.4 MB, free: 98.52 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 12.333917966112494]