Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001455/0.001455, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001667/0.001667, allocations: 205.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.38/1.38, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 43.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2343, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0289/0.2632, allocations: 24.72 MB / 455.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02587/0.2891, allocations: 22.08 MB / 477.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003361/0.2895, allocations: 7.938 kB / 477.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008251/0.2903, allocations: 266.5 kB / 478.2 MB, free: 7.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009559/0.2912, allocations: 385.8 kB / 478.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01127/0.3025, allocations: 4.101 MB / 482.6 MB, free: 2.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.3038, allocations: 0.9698 MB / 483.6 MB, free: 1.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.304, allocations: 77.23 kB / 483.7 MB, free: 1.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006244/0.3047, allocations: 398.7 kB / 484.1 MB, free: 1.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/0.3051, allocations: 322.7 kB / 484.4 MB, free: 1.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/0.3052, allocations: 36 kB / 484.4 MB, free: 1.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01665/0.3218, allocations: 10.37 MB / 494.8 MB, free: 6.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.322, allocations: 115.6 kB / 494.9 MB, free: 6.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.3223, allocations: 191.4 kB / 495.1 MB, free: 6.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02546/0.3478, allocations: 11.52 MB / 0.4947 GB, free: 10.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3478, allocations: 0 / 0.4947 GB, free: 10.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3478, allocations: 0 / 0.4947 GB, free: 10.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3478, allocations: 0 / 0.4947 GB, free: 10.91 MB / 414.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.005599/0.3534, allocations: 1.101 MB / 0.4958 GB, free: 9.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3534, allocations: 8.031 kB / 0.4958 GB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.208e-05/0.3535, allocations: 70.53 kB / 0.4959 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005649/0.3541, allocations: 79.67 kB / 0.496 GB, free: 9.605 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.3546, allocations: 256.6 kB / 0.4962 GB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.3546, allocations: 24.66 kB / 0.4962 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.3547, allocations: 35.94 kB / 0.4963 GB, free: 9.266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009785/0.3556, allocations: 0.6074 MB / 0.4969 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.3557, allocations: 11.89 kB / 0.4969 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.3557, allocations: 12 kB / 0.4969 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.3557, allocations: 15.98 kB / 0.4969 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007118/0.3564, allocations: 382.3 kB / 0.4973 GB, free: 8.176 MB / 414.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.003502/0.3599, allocations: 2.222 MB / 0.4994 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/0.3606, allocations: 285.1 kB / 0.4997 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.3608, allocations: 120.8 kB / 0.4998 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/0.3622, allocations: 463.5 kB / 0.5003 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3623, allocations: 30.56 kB / 0.5003 GB, free: 4.973 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.3623, allocations: 7.938 kB / 0.5003 GB, free: 4.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005647/0.3679, allocations: 1.163 MB / 0.5014 GB, free: 3.762 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.368, allocations: 55.41 kB / 0.5015 GB, free: 3.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.3683, allocations: 269.8 kB / 0.5017 GB, free: 3.418 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.3683, allocations: 33.64 kB / 0.5018 GB, free: 3.379 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3684, allocations: 192.4 kB / 0.502 GB, free: 3.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.604e-05/0.3685, allocations: 126.9 kB / 0.5021 GB, free: 3.062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3686, allocations: 78.12 kB / 0.5022 GB, free: 2.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3688, allocations: 342.8 kB / 0.5025 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.369, allocations: 116.8 kB / 0.5026 GB, free: 2.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.3693, allocations: 226.1 kB / 0.5028 GB, free: 2.254 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005297/0.3698, allocations: 386 kB / 0.5032 GB, free: 1.828 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3698, allocations: 4 kB / 0.5032 GB, free: 1.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009089/0.3707, allocations: 454.7 kB / 0.5036 GB, free: 1.367 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3707, allocations: 8 kB / 0.5036 GB, free: 1.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3707, allocations: 4 kB / 0.5036 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006499/0.3772, allocations: 253.8 kB / 0.5039 GB, free: 1.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.3776, allocations: 87.89 kB / 0.5039 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.3792, allocations: 1.835 MB / 0.5057 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.3794, allocations: 12 kB / 0.5058 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.3795, allocations: 20.23 kB / 0.5058 GB, free: 15.01 MB / 430.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.0002149/0.3797, allocations: 165.7 kB / 0.5059 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.3799, allocations: 39.75 kB / 0.506 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.3809, allocations: 0.7016 MB / 0.5067 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.381, allocations: 8 kB / 0.5067 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.381, allocations: 0 / 0.5067 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008695/0.3818, allocations: 0.8789 MB / 0.5075 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.3833, allocations: 1.132 MB / 0.5086 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3833, allocations: 0 / 0.5086 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.3836, allocations: 63.91 kB / 0.5087 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/0.3854, allocations: 180.5 kB / 0.5089 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.3854, allocations: 12.06 kB / 0.5089 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004071/0.3858, allocations: 0.5836 MB / 0.5094 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3858, allocations: 3.938 kB / 0.5094 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.3868, allocations: 0.742 MB / 0.5102 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.3869, allocations: 31.78 kB / 0.5102 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.387, allocations: 11.95 kB / 0.5102 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.3872, allocations: 4 kB / 0.5102 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.3872, allocations: 31.89 kB / 0.5102 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.3872, allocations: 15.98 kB / 0.5103 GB, free: 10.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.3875, allocations: 223.1 kB / 0.5105 GB, free: 9.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3875, allocations: 0 / 0.5105 GB, free: 9.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004057/0.3915, allocations: 0.7559 MB / 0.5112 GB, free: 9.223 MB / 430.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.0256/0.4171, allocations: 7.605 MB / 0.5186 GB, free: 1.582 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000987/0.4181, allocations: 469.3 kB / 0.5191 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4181, allocations: 0.875 kB / 0.5191 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.4185, allocations: 216.3 kB / 0.5193 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.4195, allocations: 188.7 kB / 0.5195 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007578/0.4271, allocations: 4.046 MB / 0.5234 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.4273, allocations: 208.9 kB / 0.5236 GB, free: 12.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004032/0.4277, allocations: 198.8 kB / 0.5238 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.4279, allocations: 131.4 kB / 0.5239 GB, free: 11.94 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4279, allocations: 7.938 kB / 0.5239 GB, free: 11.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2489/0.6768, allocations: 35.12 MB / 0.5582 GB, free: 84.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.06, allocations: 15.17 kB / 0.5583 GB, free: 84.24 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.301687063009012]