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.0008787/0.0008787, allocations: 87.67 kB / 21.43 MB, free: 3.117 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.003882/0.003882, allocations: 154.1 kB / 24.69 MB, free: 8.906 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.9177/0.9177, allocations: 158.6 MB / 186.5 MB, free: 3.047 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.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: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.448e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1503/0.1503, allocations: 24.45 MB / 322.9 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01849/0.1688, allocations: 22.02 MB / 344.9 MB, free: 292 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004314/0.1692, allocations: 7.938 kB / 344.9 MB, free: 284 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007986/0.17, allocations: 278.3 kB / 345.2 MB, free: 4 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008459/0.1709, allocations: 397.4 kB / 345.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.1813, allocations: 4.166 MB / 349.8 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.1826, allocations: 0.9577 MB / 350.7 MB, free: 10.47 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.1828, allocations: 81.22 kB / 350.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006949/0.1835, allocations: 0.5258 MB / 351.3 MB, free: 9.855 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.1838, allocations: 267.2 kB / 351.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.1838, allocations: 36 kB / 351.6 MB, free: 9.559 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01666/0.2005, allocations: 10.16 MB / 361.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.2007, allocations: 115.6 kB / 361.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003189/0.201, allocations: 167.7 kB / 362 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02316/0.2242, allocations: 11.99 MB / 374 MB, free: 3.094 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.2242, allocations: 4 kB / 374 MB, free: 3.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.2242, allocations: 0 / 374 MB, free: 3.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.2242, allocations: 0 / 374 MB, free: 3.09 MB / 330.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.005523/0.2298, allocations: 1.095 MB / 375.1 MB, free: 1.961 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.2298, allocations: 15.98 kB / 375.2 MB, free: 1.945 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.275e-05/0.2299, allocations: 74.47 kB / 375.2 MB, free: 1.863 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.2302, allocations: 59.78 kB / 375.3 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.2307, allocations: 272.5 kB / 375.5 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.2307, allocations: 24.59 kB / 375.6 MB, free: 1.488 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.2307, allocations: 36 kB / 375.6 MB, free: 1.453 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007341/0.2315, allocations: 0.6074 MB / 376.2 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.2315, allocations: 3.938 kB / 376.2 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.2315, allocations: 12 kB / 376.2 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2315, allocations: 8 kB / 376.2 MB, free: 0.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000518/0.232, allocations: 390.2 kB / 376.6 MB, free: 376 kB / 330.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.00227/0.2343, allocations: 2.221 MB / 378.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.2348, allocations: 274.8 kB / 379.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.2349, allocations: 133.2 kB / 379.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008418/0.2358, allocations: 467.5 kB / 379.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.2358, allocations: 38.56 kB / 379.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 3.666e-06/0.2358, allocations: 0 / 379.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.003266/0.2391, allocations: 1.148 MB / 380.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.2391, allocations: 63.33 kB / 380.9 MB, free: 11.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004826/0.2396, allocations: 261.8 kB / 381.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2396, allocations: 33.7 kB / 381.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.561e-05/0.2397, allocations: 196.4 kB / 381.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.636e-05/0.2398, allocations: 122.9 kB / 381.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.421e-05/0.2398, allocations: 78.19 kB / 381.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.2399, allocations: 342.8 kB / 382 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.2401, allocations: 109 kB / 382.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.2403, allocations: 234.7 kB / 382.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/0.2406, allocations: 376.8 kB / 382.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2406, allocations: 4 kB / 382.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005786/0.2412, allocations: 455.1 kB / 383.1 MB, free: 9.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2412, allocations: 11.94 kB / 383.1 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2412, allocations: 7.938 kB / 383.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/0.2434, allocations: 237.4 kB / 383.4 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.2436, allocations: 83.91 kB / 383.4 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.2448, allocations: 1.843 MB / 385.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.245, allocations: 16 kB / 385.3 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.245, allocations: 16 kB / 385.3 MB, free: 7.238 MB / 346.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.0001902/0.2452, allocations: 157.8 kB / 385.5 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.2453, allocations: 31.81 kB / 385.5 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007351/0.246, allocations: 0.7162 MB / 386.2 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.246, allocations: 12.12 kB / 386.2 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.246, allocations: 0.875 kB / 386.2 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005491/0.2466, allocations: 0.8763 MB / 387.1 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.2479, allocations: 1.141 MB / 388.2 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2479, allocations: 3.938 kB / 388.2 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.2481, allocations: 63.91 kB / 388.3 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007338/0.2488, allocations: 176.5 kB / 388.5 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.2488, allocations: 8.875 kB / 388.5 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002471/0.2491, allocations: 0.5797 MB / 389.1 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2491, allocations: 3.984 kB / 389.1 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006399/0.2497, allocations: 0.7395 MB / 389.8 MB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.399e-05/0.2498, allocations: 39.73 kB / 389.9 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.2498, allocations: 11.95 kB / 389.9 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2499, allocations: 4.156 kB / 389.9 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.2499, allocations: 33.02 kB / 389.9 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.25, allocations: 19.92 kB / 389.9 MB, free: 2.422 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.2501, allocations: 215.1 kB / 390.1 MB, free: 2.207 MB / 346.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2501, allocations: 0 / 390.1 MB, free: 2.207 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003223/0.2533, allocations: 0.7558 MB / 390.9 MB, free: 1.449 MB / 346.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.01873/0.2721, allocations: 7.704 MB / 398.6 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007849/0.2729, allocations: 466.4 kB / 399 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.2729, allocations: 0 / 399 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.2731, allocations: 216 kB / 399.3 MB, free: 9.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006816/0.2738, allocations: 189.9 kB / 399.4 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/0.2802, allocations: 4.009 MB / 403.5 MB, free: 4.652 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.2803, allocations: 208.8 kB / 403.7 MB, free: 4.434 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003811/0.2807, allocations: 194.8 kB / 403.8 MB, free: 4.238 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.2808, allocations: 136.5 kB / 404 MB, free: 4.105 MB / 362.7 MB Notification: Performance of SimCode: time 1.572e-06/0.2808, allocations: 0 / 404 MB, free: 4.105 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05405/0.3349, allocations: 35.17 MB / 439.2 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.838/9.173, allocations: 11.91 kB / 439.2 MB, free: 0.8047 MB / 394.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/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: 12.351349599659443]