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.001197/0.001197, allocations: 106.8 kB / 16.92 MB, free: 5.773 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.00115/0.00115, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.255/1.255, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009632/0.0009633, allocations: 55.27 kB / 300.7 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07736/0.07834, allocations: 49.44 MB / 350.2 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1556/0.234, allocations: 26.57 MB / 376.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02017/0.2542, allocations: 24.86 MB / 401.6 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003394/0.2546, allocations: 8.375 kB / 401.6 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007459/0.2554, allocations: 295.3 kB / 401.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006858/0.2561, allocations: 364.5 kB / 402.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01074/0.2668, allocations: 4.016 MB / 406.3 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.268, allocations: 0.9419 MB / 407.2 MB, free: 8.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.2682, allocations: 114.9 kB / 407.3 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006643/0.2689, allocations: 384.8 kB / 407.7 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004614/0.2694, allocations: 305.4 kB / 408 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.58e-05/0.2695, allocations: 37.12 kB / 408 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01863/0.2881, allocations: 10.4 MB / 418.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.2884, allocations: 99.72 kB / 418.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004687/0.2889, allocations: 235.1 kB / 418.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03069/0.3196, allocations: 11.48 MB / 430.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.3196, allocations: 1.719 kB / 430.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3196, allocations: 0 / 430.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.3196, allocations: 0 / 430.2 MB, free: 4.066 MB / 334.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.005732/0.3254, allocations: 1.136 MB / 431.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3254, allocations: 12.02 kB / 431.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.113e-05/0.3255, allocations: 74.47 kB / 431.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005429/0.3261, allocations: 65.31 kB / 431.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.3265, allocations: 310.8 kB / 431.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.3265, allocations: 32.59 kB / 431.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.3266, allocations: 32 kB / 431.9 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008293/0.3274, allocations: 459.2 kB / 432.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.3274, allocations: 11.89 kB / 432.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.3275, allocations: 17.72 kB / 432.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.3275, allocations: 11.98 kB / 432.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006975/0.3282, allocations: 386.2 kB / 432.7 MB, free: 1.422 MB / 334.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.003225/0.3314, allocations: 2.95 MB / 435.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/0.3321, allocations: 295.6 kB / 436 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.3323, allocations: 133.3 kB / 436.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002341/0.3347, allocations: 2.474 MB / 438.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.3347, allocations: 42.56 kB / 438.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.834e-06/0.3347, allocations: 0 / 438.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005168/0.3399, allocations: 1.289 MB / 439.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.3399, allocations: 55.41 kB / 440 MB, free: 9.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.3402, allocations: 262.5 kB / 440.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.3402, allocations: 33.7 kB / 440.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.3404, allocations: 188 kB / 440.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/0.3405, allocations: 118.3 kB / 440.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.3406, allocations: 90.02 kB / 440.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3407, allocations: 334.8 kB / 441 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.3409, allocations: 116.8 kB / 441.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.3412, allocations: 222.1 kB / 441.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.3417, allocations: 374.3 kB / 441.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3417, allocations: 4 kB / 441.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00082/0.3425, allocations: 467.4 kB / 442.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3426, allocations: 4 kB / 442.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.3426, allocations: 12.31 kB / 442.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004607/0.3472, allocations: 237.4 kB / 442.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.3475, allocations: 87.89 kB / 442.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.3488, allocations: 1.946 MB / 444.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.349, allocations: 12 kB / 444.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.3491, allocations: 20 kB / 444.4 MB, free: 4.574 MB / 350.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.0001724/0.3492, allocations: 165.7 kB / 444.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.3493, allocations: 31.66 kB / 444.6 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009761/0.3503, allocations: 0.6946 MB / 445.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.3503, allocations: 4 kB / 445.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3503, allocations: 0 / 445.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007704/0.3511, allocations: 0.8709 MB / 446.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.3525, allocations: 1.179 MB / 447.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3525, allocations: 0 / 447.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.3527, allocations: 67.91 kB / 447.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.3542, allocations: 180.4 kB / 447.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.3542, allocations: 8 kB / 447.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003293/0.3546, allocations: 0.5769 MB / 448.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3546, allocations: 3.938 kB / 448.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000865/0.3554, allocations: 0.7298 MB / 448.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.3555, allocations: 108.7 kB / 449.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.3556, allocations: 15.94 kB / 449.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.3558, allocations: 4 kB / 449.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.3558, allocations: 31.84 kB / 449.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.3559, allocations: 15.98 kB / 449.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.3561, allocations: 221.9 kB / 449.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3561, allocations: 0 / 449.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003657/0.3597, allocations: 0.734 MB / 450.1 MB, free: 14.7 MB / 366.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.03374/0.3935, allocations: 7.582 MB / 457.6 MB, free: 7.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.3948, allocations: 0.4948 MB / 458.1 MB, free: 6.582 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3948, allocations: 0 / 458.1 MB, free: 6.582 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.3952, allocations: 225.5 kB / 458.4 MB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.3963, allocations: 193.1 kB / 458.6 MB, free: 6.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007223/0.4036, allocations: 4.051 MB / 462.6 MB, free: 1.945 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.4039, allocations: 0.8124 MB / 463.4 MB, free: 1.109 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004221/0.4044, allocations: 192.9 kB / 463.6 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.4045, allocations: 131.4 kB / 463.7 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4046, allocations: 8 kB / 463.7 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06218/0.4668, allocations: 33.54 MB / 497.3 MB, free: 15.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.27/17.74, allocations: 12.17 kB / 497.3 MB, free: 15.32 MB / 414.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