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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 59.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2314, allocations: 50.54 MB / 408.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02735/0.2588, allocations: 26.69 MB / 435.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02522/0.284, allocations: 24.89 MB / 460.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000423/0.2845, allocations: 11.94 kB / 460.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009445/0.2855, allocations: 282.4 kB / 460.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009702/0.2865, allocations: 373.9 kB / 461 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01178/0.2983, allocations: 4.012 MB / 465 MB, free: 9.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.2996, allocations: 0.9464 MB / 465.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.2998, allocations: 113 kB / 466.1 MB, free: 8.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005439/0.3003, allocations: 390.6 kB / 466.4 MB, free: 7.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.3007, allocations: 302.8 kB / 466.7 MB, free: 7.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/0.3007, allocations: 36 kB / 466.8 MB, free: 7.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01696/0.3177, allocations: 10.44 MB / 477.2 MB, free: 12.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.318, allocations: 103.7 kB / 477.3 MB, free: 12.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005021/0.3185, allocations: 227.1 kB / 477.5 MB, free: 12.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02403/0.3426, allocations: 11.48 MB / 489 MB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.3426, allocations: 4 kB / 489 MB, free: 1.039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3426, allocations: 0 / 489 MB, free: 1.039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.3426, allocations: 0 / 489 MB, free: 1.039 MB / 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.006184/0.3488, allocations: 1.146 MB / 490.2 MB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3489, allocations: 12.03 kB / 490.2 MB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.423e-05/0.349, allocations: 70.53 kB / 490.2 MB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005554/0.3495, allocations: 63.59 kB / 490.3 MB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.35, allocations: 318.3 kB / 490.6 MB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3501, allocations: 24.66 kB / 490.6 MB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.3501, allocations: 39.88 kB / 490.7 MB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008445/0.351, allocations: 471.7 kB / 491.1 MB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.351, allocations: 0 / 491.1 MB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.351, allocations: 16 kB / 491.2 MB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3511, allocations: 8 kB / 491.2 MB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007125/0.3518, allocations: 386.3 kB / 491.5 MB, free: 14.38 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.003294/0.3551, allocations: 2.957 MB / 494.5 MB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.3557, allocations: 289.8 kB / 494.8 MB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.3559, allocations: 132.8 kB / 494.9 MB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002207/0.3581, allocations: 2.474 MB / 497.4 MB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3582, allocations: 38.56 kB / 497.4 MB, free: 7.742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.285e-06/0.3582, allocations: 0 / 497.4 MB, free: 7.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005263/0.3635, allocations: 1.286 MB / 498.7 MB, free: 6.379 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.3635, allocations: 55.41 kB / 498.8 MB, free: 6.312 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.3638, allocations: 266.5 kB / 499 MB, free: 6.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.3639, allocations: 29.7 kB / 499.1 MB, free: 6.008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.364, allocations: 192 kB / 499.2 MB, free: 5.816 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.551e-05/0.3641, allocations: 122.3 kB / 499.4 MB, free: 5.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.3642, allocations: 82.12 kB / 499.4 MB, free: 5.609 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3643, allocations: 346.7 kB / 499.8 MB, free: 5.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.3645, allocations: 104.8 kB / 499.9 MB, free: 5.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.3648, allocations: 230 kB / 0.4884 GB, free: 4.887 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.3653, allocations: 373.5 kB / 0.4887 GB, free: 4.473 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3654, allocations: 4 kB / 0.4887 GB, free: 4.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008721/0.3662, allocations: 462.5 kB / 0.4892 GB, free: 4.004 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3663, allocations: 8 kB / 0.4892 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3663, allocations: 0 / 0.4892 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005144/0.3714, allocations: 237.9 kB / 0.4894 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.3719, allocations: 91.84 kB / 0.4895 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.3736, allocations: 1.947 MB / 0.4914 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.3739, allocations: 15.94 kB / 0.4914 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.3739, allocations: 20 kB / 0.4914 GB, free: 1.52 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.0002196/0.3741, allocations: 161.7 kB / 0.4916 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3742, allocations: 43.73 kB / 0.4916 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.3753, allocations: 0.6852 MB / 0.4923 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.3753, allocations: 7.984 kB / 0.4923 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.3753, allocations: 0 / 0.4923 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008505/0.3761, allocations: 0.8635 MB / 0.4932 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.3776, allocations: 1.187 MB / 0.4943 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3776, allocations: 0 / 0.4943 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.3779, allocations: 71.89 kB / 0.4944 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.3796, allocations: 176.4 kB / 0.4946 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.3796, allocations: 12 kB / 0.4946 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000346/0.38, allocations: 0.5641 MB / 0.4951 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.38, allocations: 7.875 kB / 0.4951 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009679/0.3809, allocations: 0.7303 MB / 0.4958 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.3811, allocations: 112.6 kB / 0.4959 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.3811, allocations: 12 kB / 0.496 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.3813, allocations: 12.16 kB / 0.496 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.3814, allocations: 19.91 kB / 0.496 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.3814, allocations: 19.98 kB / 0.496 GB, free: 12.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002187/0.3816, allocations: 218 kB / 0.4962 GB, free: 12.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3816, allocations: 0 / 0.4962 GB, free: 12.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004182/0.3858, allocations: 0.7457 MB / 0.4969 GB, free: 11.64 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.02483/0.4107, allocations: 7.585 MB / 0.5043 GB, free: 4.027 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009566/0.4117, allocations: 478.3 kB / 0.5048 GB, free: 3.547 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4117, allocations: 0 / 0.5048 GB, free: 3.547 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.4121, allocations: 228.8 kB / 0.505 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.4132, allocations: 184.5 kB / 0.5052 GB, free: 3.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007648/0.4208, allocations: 4.023 MB / 0.5091 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.4212, allocations: 0.8051 MB / 0.5099 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003979/0.4216, allocations: 198.9 kB / 0.5101 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.4218, allocations: 131.4 kB / 0.5102 GB, free: 13.79 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4218, allocations: 0 / 0.5102 GB, free: 13.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2431/0.6649, allocations: 33.93 MB / 0.5434 GB, free: 123.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.96, allocations: 3.797 kB / 0.5434 GB, free: 123.1 MB / 462.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches