Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001759/0.001759, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002236/0.002236, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 59.91 kB / 373.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1028, allocations: 53.32 MB / 426.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.214/0.3168, allocations: 26.85 MB / 453.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03138/0.3482, allocations: 24.98 MB / 478.5 MB, free: 8.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005364/0.3488, allocations: 4.406 kB / 478.5 MB, free: 8.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.3498, allocations: 313.4 kB / 478.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.3509, allocations: 380.2 kB / 479.2 MB, free: 8.293 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01304/0.3639, allocations: 4.098 MB / 483.3 MB, free: 5.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.3654, allocations: 0.9486 MB / 484.2 MB, free: 4.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002584/0.3656, allocations: 84.39 kB / 484.3 MB, free: 4.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008783/0.3665, allocations: 391.7 kB / 484.7 MB, free: 4.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006372/0.3672, allocations: 314.4 kB / 485 MB, free: 4.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.3673, allocations: 36.5 kB / 485 MB, free: 4.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02229/0.3896, allocations: 10.5 MB / 495.5 MB, free: 12.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.3898, allocations: 111.6 kB / 495.6 MB, free: 12.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004786/0.3903, allocations: 227.1 kB / 495.9 MB, free: 11.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03181/0.4221, allocations: 11.51 MB / 0.4955 GB, free: 420 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4221, allocations: 0 / 0.4955 GB, free: 420 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4221, allocations: 4 kB / 0.4955 GB, free: 416 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.4221, allocations: 0 / 0.4955 GB, free: 416 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.00614/0.4283, allocations: 1.176 MB / 0.4966 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.4283, allocations: 12.03 kB / 0.4966 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.4284, allocations: 67.09 kB / 0.4967 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000701/0.4291, allocations: 67.73 kB / 0.4968 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006131/0.4297, allocations: 338.4 kB / 0.4971 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.4298, allocations: 20.66 kB / 0.4971 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.4298, allocations: 36 kB / 0.4971 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009814/0.4308, allocations: 471.9 kB / 0.4976 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.4308, allocations: 0 / 0.4976 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.4309, allocations: 16 kB / 0.4976 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4309, allocations: 8 kB / 0.4976 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008137/0.4317, allocations: 382.3 kB / 0.498 GB, free: 13.71 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.00441/0.4361, allocations: 2.959 MB / 0.5009 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007292/0.4368, allocations: 282.6 kB / 0.5011 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.4371, allocations: 124.8 kB / 0.5013 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002557/0.4396, allocations: 2.47 MB / 0.5037 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.4397, allocations: 30.56 kB / 0.5037 GB, free: 7.105 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.4397, allocations: 0 / 0.5037 GB, free: 7.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.00615/0.4458, allocations: 1.308 MB / 0.505 GB, free: 5.723 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.4459, allocations: 55.41 kB / 0.505 GB, free: 5.656 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.4462, allocations: 266.5 kB / 0.5053 GB, free: 5.387 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.4462, allocations: 33.64 kB / 0.5053 GB, free: 5.348 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.4464, allocations: 188.5 kB / 0.5055 GB, free: 5.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.4465, allocations: 130.9 kB / 0.5056 GB, free: 5.031 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.4466, allocations: 86.02 kB / 0.5057 GB, free: 4.941 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4467, allocations: 342.8 kB / 0.506 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.447, allocations: 112.8 kB / 0.5061 GB, free: 4.488 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.4473, allocations: 226.1 kB / 0.5063 GB, free: 4.219 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/0.4478, allocations: 369.5 kB / 0.5067 GB, free: 3.809 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.4478, allocations: 8 kB / 0.5067 GB, free: 3.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001003/0.4489, allocations: 462.7 kB / 0.5072 GB, free: 3.336 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.4489, allocations: 4.438 kB / 0.5072 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.4489, allocations: 8 kB / 0.5072 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006089/0.455, allocations: 249.4 kB / 0.5074 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/0.4554, allocations: 87.89 kB / 0.5075 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.4571, allocations: 1.936 MB / 0.5094 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.4574, allocations: 20.16 kB / 0.5094 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.4574, allocations: 16 kB / 0.5094 GB, free: 0.8516 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.0002332/0.4577, allocations: 165.7 kB / 0.5096 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.4579, allocations: 35.75 kB / 0.5096 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.459, allocations: 0.6831 MB / 0.5103 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.459, allocations: 8 kB / 0.5103 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4591, allocations: 5.375 kB / 0.5103 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009538/0.46, allocations: 0.8671 MB / 0.5111 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.4617, allocations: 1.187 MB / 0.5123 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.4617, allocations: 0 / 0.5123 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.462, allocations: 63.91 kB / 0.5123 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/0.4637, allocations: 172.6 kB / 0.5125 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.4637, allocations: 11.98 kB / 0.5125 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004333/0.4642, allocations: 0.5719 MB / 0.5131 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.4642, allocations: 3.938 kB / 0.5131 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.4653, allocations: 0.7374 MB / 0.5138 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.4654, allocations: 115.7 kB / 0.5139 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.4655, allocations: 11.94 kB / 0.5139 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.4657, allocations: 4 kB / 0.5139 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.4657, allocations: 31.89 kB / 0.514 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.4658, allocations: 12 kB / 0.514 GB, free: 11.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002475/0.466, allocations: 221.9 kB / 0.5142 GB, free: 11.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.466, allocations: 4.062 kB / 0.5142 GB, free: 11.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004267/0.4703, allocations: 0.7558 MB / 0.5149 GB, free: 10.96 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.02653/0.4968, allocations: 7.585 MB / 0.5223 GB, free: 3.355 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.4979, allocations: 465.4 kB / 0.5228 GB, free: 2.887 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4979, allocations: 0 / 0.5228 GB, free: 2.887 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004796/0.4984, allocations: 208.2 kB / 0.523 GB, free: 2.684 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.4995, allocations: 191.5 kB / 0.5232 GB, free: 2.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008579/0.5081, allocations: 4.055 MB / 0.5271 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.5085, allocations: 0.8129 MB / 0.5279 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000456/0.509, allocations: 190.9 kB / 0.5281 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.5092, allocations: 135.4 kB / 0.5282 GB, free: 13.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5092, allocations: 0 / 0.5282 GB, free: 13.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0804/0.5896, allocations: 33.83 MB / 0.5613 GB, free: 11.31 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.65, allocations: 0 / 0.5613 GB, free: 11.31 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.860143509693444]