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.0014/0.0014, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001858/0.001858, allocations: 212 kB / 24.47 MB, free: 3.547 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.411/1.411, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.001784/0.001784, allocations: 65.78 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2293, allocations: 49.15 MB / 396.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02528/0.2546, allocations: 24.65 MB / 421 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02859/0.2832, allocations: 22.06 MB / 443.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005068/0.2837, allocations: 4 kB / 443.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.2848, allocations: 274.4 kB / 443.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.286, allocations: 381.8 kB / 443.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01203/0.298, allocations: 4.101 MB / 447.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.2993, allocations: 0.9619 MB / 448.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.2996, allocations: 73.25 kB / 448.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009376/0.3005, allocations: 402.7 kB / 449.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.3011, allocations: 294.7 kB / 449.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.3012, allocations: 43.94 kB / 449.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02296/0.3242, allocations: 10.13 MB / 459.7 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.3244, allocations: 111.6 kB / 459.8 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004564/0.3249, allocations: 191.4 kB / 460 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03423/0.3591, allocations: 11.51 MB / 471.5 MB, free: 7.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3591, allocations: 4 kB / 471.5 MB, free: 7.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3591, allocations: 4 kB / 471.5 MB, free: 7.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.3592, allocations: 0 / 471.5 MB, free: 7.801 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.005489/0.3646, allocations: 1.093 MB / 472.6 MB, free: 6.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.3647, allocations: 15.98 kB / 472.6 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.3648, allocations: 70.53 kB / 472.7 MB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005673/0.3654, allocations: 67.77 kB / 472.7 MB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005536/0.3659, allocations: 260.6 kB / 473 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.3659, allocations: 24.66 kB / 473 MB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.366, allocations: 31.94 kB / 473.1 MB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.367, allocations: 0.6113 MB / 473.7 MB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3671, allocations: 3.938 kB / 473.7 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.3671, allocations: 16 kB / 473.7 MB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.3671, allocations: 8 kB / 473.7 MB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.3681, allocations: 382.3 kB / 474.1 MB, free: 5.09 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.003796/0.3719, allocations: 2.242 MB / 476.3 MB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007418/0.3727, allocations: 274.8 kB / 476.6 MB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.3729, allocations: 128.8 kB / 476.7 MB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/0.3745, allocations: 471.4 kB / 477.2 MB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.3745, allocations: 38.56 kB / 477.2 MB, free: 1.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.344e-06/0.3745, allocations: 3.938 kB / 477.2 MB, free: 1.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00516/0.3797, allocations: 1.135 MB / 478.3 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.3797, allocations: 55.41 kB / 478.4 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.38, allocations: 265.8 kB / 478.7 MB, free: 348 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.3801, allocations: 41.64 kB / 478.7 MB, free: 300 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.3802, allocations: 184.5 kB / 478.9 MB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.3803, allocations: 130.9 kB / 479 MB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.3805, allocations: 82.08 kB / 479.1 MB, free: 15.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3806, allocations: 338.8 kB / 479.4 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.3808, allocations: 116.8 kB / 479.5 MB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.3812, allocations: 226 kB / 479.8 MB, free: 15.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.3817, allocations: 377.5 kB / 480.1 MB, free: 14.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3817, allocations: 3.938 kB / 480.1 MB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00087/0.3826, allocations: 458.8 kB / 480.6 MB, free: 14.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3826, allocations: 8 kB / 480.6 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3826, allocations: 8 kB / 480.6 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004306/0.3869, allocations: 233.4 kB / 480.8 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.3873, allocations: 83.91 kB / 480.9 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.389, allocations: 1.847 MB / 482.7 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.3892, allocations: 12 kB / 482.8 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.3893, allocations: 20 kB / 482.8 MB, free: 11.93 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.0002375/0.3895, allocations: 161.7 kB / 482.9 MB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3896, allocations: 39.98 kB / 483 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.3907, allocations: 0.721 MB / 483.7 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.3907, allocations: 4 kB / 483.7 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.3907, allocations: 0 / 483.7 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/0.3917, allocations: 0.8789 MB / 484.6 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.3935, allocations: 1.136 MB / 485.7 MB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3935, allocations: 0 / 485.7 MB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.3938, allocations: 71.89 kB / 485.8 MB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.3953, allocations: 172.6 kB / 486 MB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.3953, allocations: 8 kB / 486 MB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004334/0.3958, allocations: 0.5757 MB / 486.5 MB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3958, allocations: 3.938 kB / 486.5 MB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.3969, allocations: 0.7459 MB / 487.3 MB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-05/0.397, allocations: 35.72 kB / 487.3 MB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.397, allocations: 12.16 kB / 487.3 MB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.3972, allocations: 12 kB / 487.3 MB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.3973, allocations: 23.89 kB / 487.4 MB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.3973, allocations: 15.98 kB / 487.4 MB, free: 7.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002758/0.3976, allocations: 219.1 kB / 487.6 MB, free: 6.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3976, allocations: 3.938 kB / 487.6 MB, free: 6.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004514/0.4021, allocations: 0.7558 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.02644/0.4285, allocations: 7.585 MB / 495.9 MB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.4297, allocations: 473.7 kB / 496.4 MB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4297, allocations: 0 / 496.4 MB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004702/0.4302, allocations: 212 kB / 496.6 MB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.4313, allocations: 193.4 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.008548/0.4399, 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.0002445/0.4401, allocations: 200.9 kB / 0.4893 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004761/0.4406, allocations: 198.8 kB / 0.4895 GB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.4408, allocations: 131.4 kB / 0.4896 GB, free: 8.852 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4408, allocations: 0 / 0.4896 GB, free: 8.852 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07441/0.5152, allocations: 34.87 MB / 0.5237 GB, free: 5.848 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/13.93, allocations: 7.984 kB / 0.5237 GB, free: 5.84 MB / 446.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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.14739335887134]