Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001234/0.001234, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005954/0.005954, allocations: 165.8 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8355/0.8355, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 298.4 MB, free: 3.609 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.615e-05, allocations: 6.219 kB / 298.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1519/0.152, allocations: 34.43 MB / 332.9 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02124/0.1732, allocations: 27.11 MB / 360 MB, free: 1.215 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007005/0.1739, allocations: 11.94 kB / 360 MB, free: 1.203 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.1751, allocations: 385.6 kB / 360.4 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.1762, allocations: 0.555 MB / 360.9 MB, free: 272 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.1877, allocations: 5.343 MB / 366.3 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.1893, allocations: 1.378 MB / 367.7 MB, free: 9.516 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/0.1896, allocations: 115 kB / 367.8 MB, free: 9.402 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.1907, allocations: 0.7401 MB / 368.5 MB, free: 8.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003995/0.1911, allocations: 394.8 kB / 368.9 MB, free: 8.273 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.1911, allocations: 52 kB / 368.9 MB, free: 8.223 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01781/0.2089, allocations: 12.46 MB / 381.4 MB, free: 11.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.2092, allocations: 155.5 kB / 381.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004468/0.2097, allocations: 243.6 kB / 381.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02824/0.2379, allocations: 15.55 MB / 397.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.2379, allocations: 4 kB / 397.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2379, allocations: 0 / 397.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.2379, allocations: 4 kB / 397.4 MB, free: 11.76 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.005793/0.2437, allocations: 1.392 MB / 398.7 MB, free: 10.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.2438, allocations: 17.3 kB / 398.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.306e-05/0.2439, allocations: 82.53 kB / 398.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004549/0.2443, allocations: 99.56 kB / 398.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.2448, allocations: 324.3 kB / 399.3 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.2448, allocations: 37 kB / 399.3 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/0.2449, allocations: 51.95 kB / 399.3 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008598/0.2458, allocations: 0.8213 MB / 400.2 MB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.2458, allocations: 4 kB / 400.2 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.2458, allocations: 20 kB / 400.2 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.2458, allocations: 12 kB / 400.2 MB, free: 8.742 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006283/0.2464, allocations: 0.5268 MB / 400.7 MB, free: 8.219 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.003002/0.2494, allocations: 2.789 MB / 403.5 MB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/0.2502, allocations: 404.1 kB / 403.9 MB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.2504, allocations: 193.5 kB / 404.1 MB, free: 4.742 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.2514, allocations: 0.6304 MB / 404.7 MB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.2515, allocations: 38.94 kB / 404.8 MB, free: 4.066 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.547e-06/0.2515, allocations: 0 / 404.8 MB, free: 4.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=54): time 0.005339/0.2568, allocations: 1.884 MB / 406.7 MB, free: 2.141 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.2569, allocations: 59.91 kB / 406.7 MB, free: 2.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.2572, allocations: 312.4 kB / 407 MB, free: 1.762 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.2572, allocations: 37.7 kB / 407.1 MB, free: 1.719 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.2574, allocations: 237.2 kB / 407.3 MB, free: 1.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.2575, allocations: 198.2 kB / 407.5 MB, free: 1.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.2576, allocations: 118.3 kB / 407.6 MB, free: 1.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2577, allocations: 350.7 kB / 407.9 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.2582, allocations: 181.2 kB / 408.1 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.2584, allocations: 336 kB / 408.4 MB, free: 252 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.259, allocations: 0.5498 MB / 409 MB, free: 15.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.259, allocations: 0 / 409 MB, free: 15.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008323/0.2598, allocations: 0.6743 MB / 409.7 MB, free: 14.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2598, allocations: 8 kB / 409.7 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2598, allocations: 4 kB / 409.7 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004215/0.2641, allocations: 458.4 kB / 410.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.2645, allocations: 139.8 kB / 410.3 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.2661, allocations: 2.982 MB / 413.2 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.2663, allocations: 16.06 kB / 413.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.2664, allocations: 31.98 kB / 413.3 MB, free: 11.12 MB / 378.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.0002424/0.2666, allocations: 189.6 kB / 413.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.2667, allocations: 43.77 kB / 413.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.2677, allocations: 1.084 MB / 414.6 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.2677, allocations: 15.98 kB / 414.6 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2677, allocations: 0 / 414.6 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/0.2688, allocations: 1.11 MB / 415.7 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.2703, allocations: 1.655 MB / 417.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.2703, allocations: 3.938 kB / 417.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.2706, allocations: 104.4 kB / 417.5 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.272, allocations: 349.1 kB / 417.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/0.272, allocations: 19.88 kB / 417.8 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005251/0.2725, allocations: 1.145 MB / 419 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2725, allocations: 4.219 kB / 419 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.2736, allocations: 1.151 MB / 420.2 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.2737, allocations: 43.78 kB / 420.2 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.2738, allocations: 23.89 kB / 420.2 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.2739, allocations: 15.98 kB / 420.2 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.274, allocations: 40.36 kB / 420.3 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.274, allocations: 20.88 kB / 420.3 MB, free: 3.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001978/0.2742, allocations: 251 kB / 420.5 MB, free: 3.645 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2742, allocations: 0 / 420.5 MB, free: 3.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004062/0.2783, allocations: 0.9741 MB / 421.5 MB, free: 2.668 MB / 378.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.02419/0.3024, allocations: 9.587 MB / 431.1 MB, free: 9.031 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.3037, allocations: 0.7036 MB / 431.8 MB, free: 8.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.3037, allocations: 4 kB / 431.8 MB, free: 8.316 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004438/0.3042, allocations: 347.2 kB / 432.1 MB, free: 7.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009317/0.3051, allocations: 269 kB / 432.4 MB, free: 7.715 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009171/0.3143, allocations: 5.262 MB / 437.7 MB, free: 2.227 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.3145, allocations: 264.9 kB / 437.9 MB, free: 1.938 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004693/0.315, allocations: 236.1 kB / 438.2 MB, free: 1.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.3152, allocations: 196.4 kB / 438.4 MB, free: 1.516 MB / 394.7 MB Notification: Performance of SimCode: time 1.343e-06/0.3152, allocations: 0 / 438.4 MB, free: 1.516 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1827/0.4979, allocations: 43.97 MB / 482.3 MB, free: 132.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.148/9.646, allocations: 9.531 kB / 482.3 MB, free: 132.3 MB / 426.7 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_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_R134a2.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 12.849463266320527]