Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 109.5 kB / 16.62 MB, free: 6.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 189.8 kB / 17.54 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.174/1.174, allocations: 222.9 MB / 241.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009879/0.0009881, allocations: 57.06 kB / 300.2 MB, free: 5.855 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08818/0.08918, allocations: 49.43 MB / 349.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1743/0.2635, allocations: 26.39 MB / 376.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0215/0.2851, allocations: 24.74 MB / 400.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004038/0.2855, allocations: 7.531 kB / 400.8 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008481/0.2864, allocations: 269.4 kB / 401.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006928/0.2871, allocations: 343.2 kB / 401.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01203/0.2991, allocations: 3.545 MB / 405 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001352/0.3005, allocations: 0.947 MB / 405.9 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.3008, allocations: 117.1 kB / 406 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005858/0.3013, allocations: 390.5 kB / 406.4 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.3017, allocations: 317.3 kB / 406.7 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.102e-05/0.3018, allocations: 37.12 kB / 406.7 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03569/0.3375, allocations: 30.08 MB / 436.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.3378, allocations: 109.4 kB / 436.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004169/0.3382, allocations: 227.1 kB / 437.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04103/0.3792, allocations: 20.17 MB / 457.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3793, allocations: 0 / 457.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3793, allocations: 1.719 kB / 457.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.3793, allocations: 0 / 457.3 MB, free: 8.523 MB / 366.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.005982/0.3853, allocations: 1.129 MB / 458.5 MB, free: 7.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3853, allocations: 8.031 kB / 458.5 MB, free: 7.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.536e-05/0.3854, allocations: 70.53 kB / 458.5 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005438/0.386, allocations: 67.53 kB / 458.6 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.3863, allocations: 320 kB / 458.9 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.3864, allocations: 24.66 kB / 458.9 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.3864, allocations: 36 kB / 459 MB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008463/0.3873, allocations: 459.2 kB / 459.4 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.3873, allocations: 7.844 kB / 459.4 MB, free: 6.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.3874, allocations: 16 kB / 459.4 MB, free: 6.277 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3874, allocations: 19.88 kB / 459.5 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.3881, allocations: 382.3 kB / 459.8 MB, free: 5.887 MB / 366.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.003132/0.3912, allocations: 2.938 MB / 462.8 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.3919, allocations: 301.8 kB / 463.1 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.3921, allocations: 141.3 kB / 463.2 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002234/0.3943, allocations: 2.462 MB / 465.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3943, allocations: 42.5 kB / 465.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.3944, allocations: 0 / 465.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.005118/0.3995, allocations: 1.295 MB / 467 MB, free: 13.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.3995, allocations: 55.41 kB / 467.1 MB, free: 13.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.3998, allocations: 262.5 kB / 467.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.3999, allocations: 33.7 kB / 467.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.4, allocations: 188 kB / 467.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.649e-05/0.4001, allocations: 122.3 kB / 467.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.4002, allocations: 93.97 kB / 467.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4004, allocations: 338.8 kB / 468.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.4006, allocations: 108.8 kB / 468.2 MB, free: 12.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.4009, allocations: 230.7 kB / 468.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.4014, allocations: 378 kB / 468.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4014, allocations: 4 kB / 468.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007975/0.4022, allocations: 462.9 kB / 469.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4022, allocations: 7.938 kB / 469.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.4022, allocations: 4 kB / 469.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005024/0.4072, allocations: 229.4 kB / 469.5 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.4076, allocations: 95.77 kB / 469.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.4091, allocations: 1.943 MB / 471.5 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.4094, allocations: 27.98 kB / 471.5 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.4094, allocations: 24.14 kB / 471.6 MB, free: 9.027 MB / 382.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.0002113/0.4097, allocations: 165.7 kB / 471.7 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.4097, allocations: 31.62 kB / 471.7 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.4109, allocations: 0.693 MB / 472.4 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.4109, allocations: 4 kB / 472.4 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4109, allocations: 3.938 kB / 472.4 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008576/0.4118, allocations: 0.8632 MB / 473.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.4134, allocations: 1.183 MB / 474.5 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4134, allocations: 4 kB / 474.5 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.4137, allocations: 63.91 kB / 474.6 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/0.4154, allocations: 176.5 kB / 474.7 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.4154, allocations: 15.98 kB / 474.7 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003815/0.4158, allocations: 0.5679 MB / 475.3 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4158, allocations: 0 / 475.3 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009619/0.4168, allocations: 0.7374 MB / 476.1 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.816e-05/0.4169, allocations: 108.9 kB / 476.2 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.4169, allocations: 15.84 kB / 476.2 MB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.4172, allocations: 23.92 kB / 476.2 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.4172, allocations: 19.97 kB / 476.2 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.4173, allocations: 22.42 kB / 476.2 MB, free: 4.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002357/0.4175, allocations: 218 kB / 476.5 MB, free: 3.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4175, allocations: 0 / 476.5 MB, free: 3.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005228/0.4227, allocations: 0.7379 MB / 477.2 MB, free: 3.152 MB / 382.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.0359/0.4587, allocations: 7.58 MB / 484.8 MB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.4601, allocations: 0.4952 MB / 485.3 MB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4601, allocations: 4 kB / 485.3 MB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.4605, allocations: 225.5 kB / 485.5 MB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4616, allocations: 187.8 kB / 485.7 MB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008448/0.4701, allocations: 4.211 MB / 489.9 MB, free: 6.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.4705, allocations: 0.8047 MB / 490.7 MB, free: 5.402 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004304/0.4709, allocations: 191 kB / 490.9 MB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.4711, allocations: 135.4 kB / 491 MB, free: 5.086 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4711, allocations: 0 / 491 MB, free: 5.086 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07534/0.5465, allocations: 33.44 MB / 0.5122 GB, free: 3.773 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.5467, allocations: 212.3 kB / 0.5124 GB, free: 3.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.176/3.723, allocations: 0 / 0.5124 GB, free: 3.52 MB / 430.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches