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.001274/0.001274, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 59.89 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.228, allocations: 50.55 MB / 408.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02924/0.2573, allocations: 26.68 MB / 435.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02743/0.2847, allocations: 24.89 MB / 460.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000396/0.2852, allocations: 4 kB / 460.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009357/0.2861, allocations: 290.3 kB / 460.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008116/0.287, allocations: 373.8 kB / 461.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01173/0.2987, allocations: 4.023 MB / 465.1 MB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001485/0.3002, allocations: 0.9464 MB / 466 MB, free: 8.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.3005, allocations: 112.4 kB / 466.1 MB, free: 7.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006397/0.3011, allocations: 390.6 kB / 466.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.3015, allocations: 302.8 kB / 466.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/0.3016, allocations: 40 kB / 466.9 MB, free: 7.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01944/0.321, allocations: 10.42 MB / 477.3 MB, free: 12.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.3213, allocations: 111.6 kB / 477.4 MB, free: 12.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.3217, allocations: 227.1 kB / 477.6 MB, free: 12.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03122/0.3529, allocations: 11.5 MB / 489.1 MB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3529, allocations: 0 / 489.1 MB, free: 0.9531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.353, allocations: 0 / 489.1 MB, free: 0.9531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.353, allocations: 0 / 489.1 MB, free: 0.9531 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.005691/0.3587, allocations: 1.184 MB / 490.3 MB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.3587, allocations: 8.031 kB / 490.3 MB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.443e-05/0.3588, allocations: 70.53 kB / 490.4 MB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005959/0.3594, allocations: 71.73 kB / 490.4 MB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.3599, allocations: 334.4 kB / 490.8 MB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.3599, allocations: 20.66 kB / 490.8 MB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.36, allocations: 35.94 kB / 490.8 MB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008813/0.3609, allocations: 467.7 kB / 491.3 MB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3609, allocations: 11.89 kB / 491.3 MB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.361, allocations: 12 kB / 491.3 MB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.361, allocations: 8 kB / 491.3 MB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008011/0.3618, allocations: 390.3 kB / 491.7 MB, free: 14.23 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.003419/0.3652, allocations: 2.949 MB / 494.6 MB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.3659, allocations: 294 kB / 494.9 MB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.3661, allocations: 124.8 kB / 495 MB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002581/0.3687, allocations: 2.466 MB / 497.5 MB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.3687, allocations: 46.5 kB / 497.6 MB, free: 7.605 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/0.3687, allocations: 0 / 497.6 MB, free: 7.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005477/0.3742, allocations: 1.306 MB / 498.9 MB, free: 6.223 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.3743, allocations: 55.41 kB / 498.9 MB, free: 6.156 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.3746, allocations: 258.6 kB / 499.2 MB, free: 5.895 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.3746, allocations: 29.7 kB / 499.2 MB, free: 5.859 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.3747, allocations: 196.4 kB / 499.4 MB, free: 5.664 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.82e-05/0.3748, allocations: 126.9 kB / 499.5 MB, free: 5.539 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.375, allocations: 86.08 kB / 499.6 MB, free: 5.449 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3751, allocations: 338.8 kB / 499.9 MB, free: 5.109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.3753, allocations: 112.8 kB / 0.4883 GB, free: 5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.3757, allocations: 230 kB / 0.4885 GB, free: 4.727 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.3762, allocations: 369.5 kB / 0.4889 GB, free: 4.316 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3762, allocations: 4 kB / 0.4889 GB, free: 4.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009805/0.3772, allocations: 467 kB / 0.4893 GB, free: 3.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3772, allocations: 8 kB / 0.4893 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3773, allocations: 0 / 0.4893 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005647/0.3829, allocations: 245.4 kB / 0.4896 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.3833, allocations: 91.83 kB / 0.4897 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.385, allocations: 1.947 MB / 0.4916 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.3853, allocations: 8 kB / 0.4916 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.3853, allocations: 23.98 kB / 0.4916 GB, free: 1.355 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.0002139/0.3855, allocations: 165.7 kB / 0.4918 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.3857, allocations: 35.75 kB / 0.4918 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.3868, allocations: 0.6932 MB / 0.4925 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.3868, allocations: 8 kB / 0.4925 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.3868, allocations: 0 / 0.4925 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009246/0.3877, allocations: 0.8672 MB / 0.4933 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.3893, allocations: 1.191 MB / 0.4945 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3893, allocations: 3.938 kB / 0.4945 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.3895, allocations: 63.91 kB / 0.4945 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001493/0.391, allocations: 176.6 kB / 0.4947 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.3911, allocations: 11.98 kB / 0.4947 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000386/0.3915, allocations: 0.5641 MB / 0.4953 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3915, allocations: 12.02 kB / 0.4953 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3925, allocations: 0.7344 MB / 0.496 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.353e-05/0.3926, allocations: 116.8 kB / 0.4961 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.3927, allocations: 4 kB / 0.4961 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.3929, allocations: 11.98 kB / 0.4961 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.3929, allocations: 27.91 kB / 0.4962 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.3929, allocations: 12 kB / 0.4962 GB, free: 12.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002257/0.3932, allocations: 222 kB / 0.4964 GB, free: 12.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3932, allocations: 0 / 0.4964 GB, free: 12.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003777/0.397, allocations: 0.7597 MB / 0.4971 GB, free: 11.45 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.02565/0.4226, allocations: 7.588 MB / 0.5045 GB, free: 3.828 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.4237, allocations: 473.4 kB / 0.505 GB, free: 3.352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4237, allocations: 4 kB / 0.505 GB, free: 3.348 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003865/0.4241, allocations: 220.2 kB / 0.5052 GB, free: 3.133 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.4252, allocations: 201.3 kB / 0.5054 GB, free: 2.938 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007628/0.4328, allocations: 4.045 MB / 0.5093 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004315/0.4333, allocations: 0.8051 MB / 0.5101 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004024/0.4337, allocations: 191 kB / 0.5103 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.4339, allocations: 139.4 kB / 0.5104 GB, free: 13.55 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4339, allocations: 0 / 0.5104 GB, free: 13.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2395/0.6735, allocations: 33.75 MB / 0.5434 GB, free: 123.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.37, allocations: 4.594 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.1.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