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.001083/0.001083, allocations: 117.7 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 204.6 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.89 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2548, allocations: 50.53 MB / 408.8 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02507/0.2799, allocations: 26.68 MB / 435.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02293/0.3029, allocations: 24.9 MB / 460.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003642/0.3033, allocations: 8 kB / 460.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008056/0.3041, allocations: 290.3 kB / 460.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007618/0.3049, allocations: 373.9 kB / 461 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01161/0.3165, allocations: 4.02 MB / 465 MB, free: 9.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.3179, allocations: 0.9425 MB / 466 MB, free: 8.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.3182, allocations: 116.4 kB / 466.1 MB, free: 8.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005722/0.3188, allocations: 390.6 kB / 466.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.3191, allocations: 306.8 kB / 466.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.3192, allocations: 36 kB / 466.8 MB, free: 7.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01722/0.3364, allocations: 10.43 MB / 477.2 MB, free: 12.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.3367, allocations: 111.6 kB / 477.3 MB, free: 12.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003562/0.337, allocations: 223.1 kB / 477.5 MB, free: 12.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02379/0.3608, allocations: 11.49 MB / 489 MB, free: 1.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3609, allocations: 4 kB / 489 MB, free: 1.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3609, allocations: 0 / 489 MB, free: 1.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.3609, allocations: 0 / 489 MB, free: 1.082 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.005637/0.3666, allocations: 1.146 MB / 490.2 MB, free: 15.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3666, allocations: 8.031 kB / 490.2 MB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.318e-05/0.3667, allocations: 70.53 kB / 490.3 MB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005196/0.3672, allocations: 63.59 kB / 490.3 MB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.3677, allocations: 326.3 kB / 490.6 MB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.3677, allocations: 28.66 kB / 490.7 MB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.258e-05/0.3678, allocations: 35.94 kB / 490.7 MB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000861/0.3687, allocations: 459.8 kB / 491.1 MB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.3687, allocations: 7.938 kB / 491.2 MB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.3687, allocations: 23.94 kB / 491.2 MB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.3688, allocations: 8 kB / 491.2 MB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006733/0.3694, allocations: 382.3 kB / 491.6 MB, free: 14.42 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.003523/0.373, allocations: 2.941 MB / 494.5 MB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.3736, allocations: 290.8 kB / 494.8 MB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.3738, allocations: 132.8 kB / 494.9 MB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0022/0.376, allocations: 2.47 MB / 497.4 MB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.376, allocations: 42.5 kB / 497.4 MB, free: 7.793 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.814e-06/0.376, allocations: 4 kB / 497.4 MB, free: 7.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.004832/0.3809, allocations: 1.29 MB / 498.7 MB, free: 6.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.3809, allocations: 55.39 kB / 498.8 MB, free: 6.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.3812, allocations: 262.5 kB / 499 MB, free: 6.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.3812, allocations: 37.7 kB / 499.1 MB, free: 6.047 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3813, allocations: 188 kB / 499.3 MB, free: 5.859 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.448e-05/0.3814, allocations: 122.3 kB / 499.4 MB, free: 5.738 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3815, allocations: 82.12 kB / 499.4 MB, free: 5.652 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3816, allocations: 338.8 kB / 499.8 MB, free: 5.312 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.3818, allocations: 112.8 kB / 499.9 MB, free: 5.203 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.3821, allocations: 230 kB / 0.4884 GB, free: 4.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.3825, allocations: 369.5 kB / 0.4887 GB, free: 4.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3825, allocations: 0 / 0.4887 GB, free: 4.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007454/0.3833, allocations: 466.8 kB / 0.4892 GB, free: 4.051 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3833, allocations: 12.03 kB / 0.4892 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3833, allocations: 4 kB / 0.4892 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004152/0.3875, allocations: 229.4 kB / 0.4894 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.3878, allocations: 87.83 kB / 0.4895 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.3891, allocations: 1.947 MB / 0.4914 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.3893, allocations: 16.09 kB / 0.4914 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.3893, allocations: 20 kB / 0.4914 GB, free: 1.57 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.0001678/0.3895, allocations: 169.6 kB / 0.4916 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.3896, allocations: 31.66 kB / 0.4916 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009205/0.3905, allocations: 0.6891 MB / 0.4923 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.3905, allocations: 12 kB / 0.4923 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.3905, allocations: 0 / 0.4923 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007633/0.3913, allocations: 0.8632 MB / 0.4932 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.3926, allocations: 1.191 MB / 0.4943 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3926, allocations: 0 / 0.4943 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.3929, allocations: 67.91 kB / 0.4944 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001407/0.3943, allocations: 172.5 kB / 0.4946 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.3943, allocations: 11.98 kB / 0.4946 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003017/0.3947, allocations: 0.568 MB / 0.4951 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3947, allocations: 3.938 kB / 0.4951 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008379/0.3955, allocations: 0.7382 MB / 0.4958 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.351e-05/0.3956, allocations: 108.6 kB / 0.496 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.3956, allocations: 8 kB / 0.496 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.3958, allocations: 8 kB / 0.496 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.3959, allocations: 27.89 kB / 0.496 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.3959, allocations: 12 kB / 0.496 GB, free: 12.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.3961, allocations: 226 kB / 0.4962 GB, free: 12.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3961, allocations: 4 kB / 0.4962 GB, free: 12.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003894/0.4, allocations: 0.7457 MB / 0.497 GB, free: 11.7 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.02269/0.4227, allocations: 7.57 MB / 0.5043 GB, free: 4.086 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009472/0.4237, allocations: 485.4 kB / 0.5048 GB, free: 3.598 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4237, allocations: 0 / 0.5048 GB, free: 3.598 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.4241, allocations: 220.8 kB / 0.505 GB, free: 3.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.4251, allocations: 201.3 kB / 0.5052 GB, free: 3.188 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006819/0.432, allocations: 4.015 MB / 0.5091 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.4323, allocations: 0.8129 MB / 0.5099 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003676/0.4327, allocations: 187 kB / 0.5101 GB, free: 13.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.4329, allocations: 135.4 kB / 0.5102 GB, free: 13.84 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4329, allocations: 0 / 0.5102 GB, free: 13.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5082/0.9411, allocations: 33.92 MB / 0.5434 GB, free: 122.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.82, allocations: 17.59 kB / 0.5434 GB, free: 122.7 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