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.0009817/0.0009816, allocations: 106.7 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001001/0.001002, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.203/1.203, allocations: 227.4 MB / 246.3 MB, free: 9.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 56.28 kB / 306.3 MB, free: 0.6953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08088/0.08219, allocations: 50.53 MB / 356.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1601/0.2423, allocations: 26.4 MB / 383.3 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02394/0.2663, allocations: 25.67 MB / 408.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003639/0.2667, allocations: 4.031 kB / 408.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007461/0.2674, allocations: 243.9 kB / 409.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008002/0.2683, allocations: 364.4 kB / 409.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008965/0.2773, allocations: 3.256 MB / 412.8 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.2786, allocations: 1.396 MB / 414.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.2788, allocations: 84.2 kB / 414.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006249/0.2794, allocations: 333.5 kB / 414.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004556/0.2799, allocations: 316.3 kB / 414.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.765e-05/0.28, allocations: 17.47 kB / 414.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03775/0.3177, allocations: 27.67 MB / 442.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.3179, allocations: 87.7 kB / 442.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.3183, allocations: 211.1 kB / 442.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04985/0.3682, allocations: 20.16 MB / 463 MB, free: 124 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3682, allocations: 4 kB / 463.1 MB, free: 120 kB / 366.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3682, allocations: 0 / 463.1 MB, free: 120 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.3682, allocations: 0 / 463.1 MB, free: 120 kB / 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.004692/0.3729, allocations: 1.135 MB / 464.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.373, allocations: 11.97 kB / 464.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.767e-05/0.3731, allocations: 70.53 kB / 464.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004881/0.3736, allocations: 71.52 kB / 464.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.3739, allocations: 322.3 kB / 464.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.3739, allocations: 24.59 kB / 464.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.374, allocations: 32 kB / 464.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007493/0.3747, allocations: 463.7 kB / 465.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.3747, allocations: 4 kB / 465.2 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.3748, allocations: 16 kB / 465.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3748, allocations: 11.94 kB / 465.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006523/0.3755, allocations: 386.3 kB / 465.6 MB, free: 13.46 MB / 382.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.002769/0.3782, allocations: 2.941 MB / 468.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/0.3788, allocations: 294.7 kB / 468.8 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.379, allocations: 140.8 kB / 468.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001927/0.3809, allocations: 2.462 MB / 471.4 MB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.381, allocations: 46.5 kB / 471.4 MB, free: 6.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.353e-06/0.381, allocations: 0 / 471.4 MB, free: 6.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.004667/0.3857, allocations: 1.288 MB / 472.7 MB, free: 5.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.3857, allocations: 55.41 kB / 472.8 MB, free: 5.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.3859, allocations: 262.5 kB / 473 MB, free: 5.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.386, allocations: 33.7 kB / 473.1 MB, free: 5.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.3861, allocations: 192 kB / 473.3 MB, free: 4.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.075e-05/0.3861, allocations: 118.3 kB / 473.4 MB, free: 4.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3863, allocations: 90.03 kB / 473.5 MB, free: 4.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.3864, allocations: 334.8 kB / 473.8 MB, free: 4.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.3865, allocations: 120.7 kB / 473.9 MB, free: 4.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.3868, allocations: 230 kB / 474.1 MB, free: 3.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/0.3873, allocations: 374 kB / 474.5 MB, free: 3.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3873, allocations: 0 / 474.5 MB, free: 3.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007457/0.388, allocations: 455 kB / 474.9 MB, free: 3.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.388, allocations: 8 kB / 475 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.388, allocations: 4 kB / 475 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004564/0.3926, allocations: 229.4 kB / 475.2 MB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.3929, allocations: 95.77 kB / 475.3 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.3941, allocations: 1.844 MB / 477.1 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.3943, allocations: 32.23 kB / 477.1 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.3943, allocations: 16 kB / 477.2 MB, free: 0.7109 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.0001553/0.3945, allocations: 181.5 kB / 477.3 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.3946, allocations: 35.62 kB / 477.4 MB, free: 500 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009253/0.3955, allocations: 0.6835 MB / 478.1 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.3955, allocations: 8 kB / 478.1 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.3955, allocations: 8 kB / 478.1 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007344/0.3963, allocations: 0.8518 MB / 478.9 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.3975, allocations: 1.202 MB / 480.1 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3976, allocations: 0 / 480.1 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.3978, allocations: 59.91 kB / 480.2 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/0.3993, allocations: 176.6 kB / 480.4 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.3994, allocations: 8 kB / 480.4 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003107/0.3997, allocations: 0.5796 MB / 480.9 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3997, allocations: 4.094 kB / 481 MB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008365/0.4005, allocations: 0.7328 MB / 481.7 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.4006, allocations: 108.7 kB / 481.8 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.4007, allocations: 11.91 kB / 481.8 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.4009, allocations: 23.98 kB / 481.8 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.4009, allocations: 23.97 kB / 481.8 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.401, allocations: 15.98 kB / 481.9 MB, free: 11.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.4012, allocations: 218 kB / 482.1 MB, free: 11.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.403e-06/0.4012, allocations: 0 / 482.1 MB, free: 11.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003442/0.4046, allocations: 0.7457 MB / 482.8 MB, free: 10.82 MB / 398.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.03043/0.435, allocations: 7.586 MB / 490.4 MB, free: 3.188 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006963/0.4358, allocations: 477.6 kB / 490.9 MB, free: 2.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4358, allocations: 0 / 490.9 MB, free: 2.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000335/0.4361, allocations: 228.1 kB / 491.1 MB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008962/0.437, allocations: 181.6 kB / 491.3 MB, free: 2.309 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005591/0.4426, allocations: 4.193 MB / 495.5 MB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.4429, allocations: 0.8008 MB / 496.3 MB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003439/0.4433, allocations: 194.9 kB / 496.5 MB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.4434, allocations: 139.4 kB / 496.6 MB, free: 12.78 MB / 414.1 MB Notification: Performance of SimCode: time 2e-07/0.4434, allocations: 0 / 496.6 MB, free: 12.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9606/1.404, allocations: 33.1 MB / 0.5173 GB, free: 11.76 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/1.404, allocations: 210.5 kB / 0.5175 GB, free: 11.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.376/5.78, allocations: 4 kB / 0.5175 GB, free: 11.5 MB / 446.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