Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001705/0.001705, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002092/0.002092, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.444/1.444, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.R134a2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 55.92 kB / 373 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09068/0.09231, allocations: 53.33 MB / 426.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2194/0.3117, allocations: 37.98 MB / 464.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03616/0.3479, allocations: 30.73 MB / 495 MB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007157/0.3486, allocations: 11.94 kB / 495 MB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.3501, allocations: 426.4 kB / 495.5 MB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.3517, allocations: 0.5297 MB / 496 MB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0157/0.3674, allocations: 5.235 MB / 0.4895 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001944/0.3693, allocations: 1.363 MB / 0.4908 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002631/0.3696, allocations: 130.6 kB / 0.4909 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008446/0.3704, allocations: 0.5488 MB / 0.4915 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005798/0.371, allocations: 458.2 kB / 0.4919 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.3711, allocations: 52 kB / 0.492 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02514/0.3962, allocations: 12.89 MB / 0.5045 GB, free: 6.52 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.3965, allocations: 163.4 kB / 0.5047 GB, free: 6.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004953/0.397, allocations: 314.8 kB / 0.505 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03552/0.4325, allocations: 14.94 MB / 0.5196 GB, free: 7.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4325, allocations: 4 kB / 0.5196 GB, free: 7.094 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4325, allocations: 3.938 kB / 0.5196 GB, free: 7.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.547e-05/0.4325, allocations: 0 / 0.5196 GB, free: 7.09 MB / 430.1 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.007881/0.4404, allocations: 1.479 MB / 0.521 GB, free: 5.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.4405, allocations: 8.031 kB / 0.521 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/0.4406, allocations: 91.53 kB / 0.5211 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007942/0.4414, allocations: 99.56 kB / 0.5212 GB, free: 5.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006501/0.442, allocations: 382.2 kB / 0.5216 GB, free: 4.938 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.4421, allocations: 37 kB / 0.5216 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.719e-05/0.4421, allocations: 53.38 kB / 0.5217 GB, free: 4.848 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.4434, allocations: 0.6166 MB / 0.5223 GB, free: 4.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.4434, allocations: 3.953 kB / 0.5223 GB, free: 4.184 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/0.4435, allocations: 24 kB / 0.5223 GB, free: 4.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.4435, allocations: 12 kB / 0.5223 GB, free: 4.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.4446, allocations: 0.5346 MB / 0.5228 GB, free: 3.609 MB / 430.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.004516/0.4491, allocations: 3.792 MB / 0.5265 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009702/0.45, allocations: 399.7 kB / 0.5269 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.4504, allocations: 197.3 kB / 0.5271 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00372/0.4541, allocations: 3.459 MB / 0.5305 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.4541, allocations: 38.94 kB / 0.5305 GB, free: 10.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.204e-06/0.4541, allocations: 0 / 0.5305 GB, free: 10.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01019/0.4643, allocations: 2.044 MB / 0.5325 GB, free: 8.594 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.4643, allocations: 63.78 kB / 0.5326 GB, free: 8.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/0.4647, allocations: 304.5 kB / 0.5329 GB, free: 8.219 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.704e-05/0.4648, allocations: 37.7 kB / 0.5329 GB, free: 8.176 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.4649, allocations: 245.1 kB / 0.5331 GB, free: 7.934 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.4651, allocations: 194.3 kB / 0.5333 GB, free: 7.742 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.4653, allocations: 118.3 kB / 0.5334 GB, free: 7.617 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4654, allocations: 350.8 kB / 0.5338 GB, free: 7.266 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.4657, allocations: 177.2 kB / 0.5339 GB, free: 7.094 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.4662, allocations: 336 kB / 0.5343 GB, free: 6.703 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008398/0.467, allocations: 0.5455 MB / 0.5348 GB, free: 6.098 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.467, allocations: 8 kB / 0.5348 GB, free: 6.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001394/0.4684, allocations: 0.6673 MB / 0.5355 GB, free: 5.406 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.4684, allocations: 11.94 kB / 0.5355 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4685, allocations: 4 kB / 0.5355 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01196/0.4804, allocations: 474.2 kB / 0.5359 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.481, allocations: 143.8 kB / 0.5361 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.4834, allocations: 3.086 MB / 0.5391 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.4837, allocations: 19.94 kB / 0.5391 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/0.4838, allocations: 32.86 kB / 0.5391 GB, free: 1.43 MB / 446.1 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.0002709/0.484, allocations: 193 kB / 0.5393 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.4843, allocations: 43.72 kB / 0.5394 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.4859, allocations: 1.056 MB / 0.5404 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.4859, allocations: 15.98 kB / 0.5404 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4859, allocations: 0 / 0.5404 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001308/0.4872, allocations: 1.087 MB / 0.5415 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/0.4896, allocations: 1.733 MB / 0.5432 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4896, allocations: 0.875 kB / 0.5432 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.49, allocations: 103.8 kB / 0.5433 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003063/0.493, allocations: 353.1 kB / 0.5436 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.64e-05/0.4931, allocations: 15.98 kB / 0.5436 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008112/0.4939, allocations: 1.152 MB / 0.5447 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4939, allocations: 0 / 0.5447 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.4956, allocations: 1.128 MB / 0.5458 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.4958, allocations: 128.7 kB / 0.546 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.4958, allocations: 12 kB / 0.546 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.4961, allocations: 15.94 kB / 0.546 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.4962, allocations: 40.55 kB / 0.546 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.4962, allocations: 20.09 kB / 0.546 GB, free: 10.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002986/0.4965, allocations: 251 kB / 0.5463 GB, free: 9.852 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4965, allocations: 3.938 kB / 0.5463 GB, free: 9.848 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005207/0.5017, allocations: 0.9779 MB / 0.5472 GB, free: 8.867 MB / 462.1 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.03235/0.5341, allocations: 9.446 MB / 0.5565 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.5358, allocations: 0.6928 MB / 0.5571 GB, free: 14.67 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5358, allocations: 0 / 0.5571 GB, free: 14.67 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006512/0.5364, allocations: 343.5 kB / 0.5575 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.5379, allocations: 271.9 kB / 0.5577 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.5489, allocations: 5.346 MB / 0.5629 GB, free: 8.516 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.5494, allocations: 0.8648 MB / 0.5638 GB, free: 7.621 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005423/0.5499, allocations: 248 kB / 0.564 GB, free: 7.375 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.5502, allocations: 203.4 kB / 0.5642 GB, free: 7.176 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5502, allocations: 0 / 0.5642 GB, free: 7.176 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09892/0.6492, allocations: 42.38 MB / 0.6056 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/13.99, allocations: 11.73 kB / 0.6056 GB, free: 12.89 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 19.503317398950458]