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.001258/0.001258, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001345/0.001345, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.41/1.41, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.002206/0.002206, allocations: 59.91 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09659/0.0988, allocations: 53.32 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2006/0.2994, allocations: 26.84 MB / 453.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02981/0.3292, allocations: 24.98 MB / 478.1 MB, free: 8.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004266/0.3297, allocations: 4.344 kB / 478.1 MB, free: 8.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008984/0.3306, allocations: 310 kB / 478.4 MB, free: 8.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008727/0.3314, allocations: 383.2 kB / 478.8 MB, free: 8.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01137/0.3428, allocations: 4.093 MB / 482.9 MB, free: 5.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.3441, allocations: 0.9438 MB / 483.9 MB, free: 4.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.3443, allocations: 88.86 kB / 483.9 MB, free: 4.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006248/0.345, allocations: 392.4 kB / 484.3 MB, free: 4.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.3454, allocations: 313.8 kB / 484.6 MB, free: 4.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/0.3454, allocations: 37.94 kB / 484.7 MB, free: 4.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01943/0.3648, allocations: 10.5 MB / 495.2 MB, free: 11.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.3651, allocations: 107.7 kB / 495.3 MB, free: 11.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004331/0.3655, allocations: 223.2 kB / 495.5 MB, free: 11.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03005/0.3956, allocations: 11.51 MB / 0.4951 GB, free: 136 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3956, allocations: 0 / 0.4951 GB, free: 136 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3956, allocations: 0 / 0.4951 GB, free: 136 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.3956, allocations: 0 / 0.4951 GB, free: 136 kB / 398.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.006313/0.4019, allocations: 1.173 MB / 0.4963 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4019, allocations: 12.03 kB / 0.4963 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.634e-05/0.402, allocations: 78.47 kB / 0.4963 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005984/0.4026, allocations: 71.73 kB / 0.4964 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.4031, allocations: 322.9 kB / 0.4967 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.4032, allocations: 24.59 kB / 0.4967 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.4032, allocations: 41.58 kB / 0.4968 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009034/0.4041, allocations: 467.7 kB / 0.4972 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.4041, allocations: 0 / 0.4972 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.4042, allocations: 12 kB / 0.4972 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.4042, allocations: 8 kB / 0.4972 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007517/0.4049, allocations: 394.3 kB / 0.4976 GB, free: 13.42 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.003578/0.4085, allocations: 2.943 MB / 0.5005 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.4092, allocations: 282.1 kB / 0.5008 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.4094, allocations: 129.4 kB / 0.5009 GB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002631/0.412, allocations: 2.47 MB / 0.5033 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.4121, allocations: 34.56 kB / 0.5033 GB, free: 6.824 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.435e-06/0.4121, allocations: 0 / 0.5033 GB, free: 6.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005738/0.4178, allocations: 1.301 MB / 0.5046 GB, free: 5.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.4179, allocations: 59.39 kB / 0.5047 GB, free: 5.379 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.4181, allocations: 266.5 kB / 0.5049 GB, free: 5.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.4182, allocations: 29.7 kB / 0.5049 GB, free: 5.078 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.4183, allocations: 188.5 kB / 0.5051 GB, free: 4.891 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.4184, allocations: 130.9 kB / 0.5053 GB, free: 4.762 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.4185, allocations: 86.08 kB / 0.5053 GB, free: 4.672 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.4187, allocations: 338.8 kB / 0.5057 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.4189, allocations: 112.8 kB / 0.5058 GB, free: 4.223 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.4192, allocations: 226.1 kB / 0.506 GB, free: 3.953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/0.4198, allocations: 381.5 kB / 0.5063 GB, free: 3.531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4198, allocations: 0 / 0.5063 GB, free: 3.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009451/0.4207, allocations: 470.7 kB / 0.5068 GB, free: 3.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4208, allocations: 8 kB / 0.5068 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.4208, allocations: 4 kB / 0.5068 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005975/0.4267, allocations: 242.1 kB / 0.507 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.4271, allocations: 92.3 kB / 0.5071 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/0.4287, allocations: 1.938 MB / 0.509 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.4289, allocations: 12 kB / 0.509 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.429, allocations: 20.56 kB / 0.509 GB, free: 0.582 MB / 414.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.0002072/0.4292, allocations: 165.7 kB / 0.5092 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.4293, allocations: 39.84 kB / 0.5092 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.4304, allocations: 0.687 MB / 0.5099 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.4304, allocations: 4 kB / 0.5099 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.4304, allocations: 0 / 0.5099 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009364/0.4314, allocations: 0.8748 MB / 0.5108 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.4329, allocations: 1.188 MB / 0.5119 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4329, allocations: 0 / 0.5119 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.4332, allocations: 67.91 kB / 0.512 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/0.4348, allocations: 168.6 kB / 0.5122 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.4348, allocations: 11.98 kB / 0.5122 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004123/0.4352, allocations: 0.5757 MB / 0.5127 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.4352, allocations: 3.938 kB / 0.5127 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.4363, allocations: 0.7344 MB / 0.5135 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.481e-05/0.4364, allocations: 108.8 kB / 0.5136 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.4364, allocations: 8 kB / 0.5136 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.4366, allocations: 16.16 kB / 0.5136 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.4366, allocations: 27.83 kB / 0.5136 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.4367, allocations: 16 kB / 0.5136 GB, free: 11.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002444/0.4369, allocations: 221.9 kB / 0.5138 GB, free: 11.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4369, allocations: 0 / 0.5138 GB, free: 11.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004102/0.441, allocations: 0.7597 MB / 0.5146 GB, free: 10.68 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.0255/0.4665, allocations: 7.583 MB / 0.522 GB, free: 3.062 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.4677, allocations: 465.4 kB / 0.5224 GB, free: 2.594 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4677, allocations: 4.812 kB / 0.5224 GB, free: 2.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004135/0.4681, allocations: 208.9 kB / 0.5226 GB, free: 2.387 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.4692, allocations: 192.9 kB / 0.5228 GB, free: 2.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00843/0.4777, allocations: 4.05 MB / 0.5268 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.4781, allocations: 0.8051 MB / 0.5276 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004106/0.4785, allocations: 186.9 kB / 0.5277 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.4787, allocations: 131.4 kB / 0.5279 GB, free: 12.82 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4787, allocations: 0 / 0.5279 GB, free: 12.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07451/0.5532, allocations: 33.87 MB / 0.5609 GB, free: 11.05 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.32, allocations: 8.047 kB / 0.5609 GB, free: 11.04 MB / 478.1 MB " [Timeout remaining time 647] (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: 18.369025724940002]