Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_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.001427/0.001427, allocations: 106.6 kB / 17.73 MB, free: 5.348 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.001636/0.001637, allocations: 187 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 47.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1086, allocations: 46.62 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2167/0.3254, allocations: 26.6 MB / 401.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02821/0.3536, allocations: 24.86 MB / 426.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005902/0.3543, allocations: 4.875 kB / 426.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.3556, allocations: 294.8 kB / 426.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.3571, allocations: 363 kB / 426.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0154/0.3725, allocations: 4.02 MB / 430.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.3741, allocations: 0.9429 MB / 431.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.3744, allocations: 107.3 kB / 431.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000618/0.375, allocations: 401.5 kB / 432.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003763/0.3754, allocations: 296.7 kB / 432.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.489e-05/0.3755, allocations: 37.12 kB / 432.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02009/0.3956, allocations: 10.42 MB / 443 MB, free: 11.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002901/0.3959, allocations: 107.6 kB / 443.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004699/0.3964, allocations: 223.2 kB / 443.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02833/0.4247, allocations: 11.49 MB / 454.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4248, allocations: 4 kB / 454.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4248, allocations: 0 / 454.8 MB, free: 15.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.4248, allocations: 4 kB / 454.8 MB, free: 15.68 MB / 382.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.006405/0.4312, allocations: 1.135 MB / 455.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.4313, allocations: 8.031 kB / 455.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.554e-05/0.4314, allocations: 70.53 kB / 456 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005684/0.432, allocations: 63.59 kB / 456.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.4325, allocations: 330.3 kB / 456.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.4325, allocations: 24.66 kB / 456.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.4326, allocations: 32 kB / 456.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008686/0.4335, allocations: 463.7 kB / 456.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.4335, allocations: 3.938 kB / 456.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.4335, allocations: 20 kB / 456.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.4336, allocations: 11.94 kB / 456.9 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000693/0.4343, allocations: 386.3 kB / 457.3 MB, free: 13.02 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.003682/0.4379, allocations: 2.946 MB / 460.3 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/0.4386, allocations: 290.8 kB / 460.5 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.4388, allocations: 128.8 kB / 460.7 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002507/0.4413, allocations: 2.474 MB / 463.1 MB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.4414, allocations: 46.5 kB / 463.2 MB, free: 6.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/0.4414, allocations: 0 / 463.2 MB, free: 6.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00495/0.4463, allocations: 1.296 MB / 464.5 MB, free: 5.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.4464, allocations: 51.41 kB / 464.5 MB, free: 4.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.4467, allocations: 262.5 kB / 464.8 MB, free: 4.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.4467, allocations: 33.7 kB / 464.8 MB, free: 4.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.4469, allocations: 184.2 kB / 465 MB, free: 4.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.757e-05/0.447, allocations: 126.2 kB / 465.1 MB, free: 4.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.4471, allocations: 82.12 kB / 465.2 MB, free: 4.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4472, allocations: 334.8 kB / 465.5 MB, free: 3.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.4474, allocations: 116.8 kB / 465.6 MB, free: 3.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.4477, allocations: 234 kB / 465.9 MB, free: 3.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/0.4482, allocations: 367.6 kB / 466.2 MB, free: 3.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4482, allocations: 0 / 466.2 MB, free: 3.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007898/0.449, allocations: 466.9 kB / 466.7 MB, free: 2.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4491, allocations: 8.031 kB / 466.7 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.4491, allocations: 4 kB / 466.7 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004254/0.4533, allocations: 233.4 kB / 466.9 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.4537, allocations: 91.77 kB / 467 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/0.4551, allocations: 1.947 MB / 469 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.4553, allocations: 8 kB / 469 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/0.4554, allocations: 26.36 kB / 469 MB, free: 176 kB / 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.0001872/0.4556, allocations: 165.7 kB / 469.2 MB, free: 0 / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.4557, allocations: 35.73 kB / 469.2 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.4567, allocations: 0.6906 MB / 469.9 MB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.4568, allocations: 12.09 kB / 469.9 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.4568, allocations: 0 / 469.9 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007964/0.4576, allocations: 0.8602 MB / 470.8 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.459, allocations: 1.187 MB / 471.9 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.459, allocations: 0 / 471.9 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.4593, allocations: 67.91 kB / 472 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/0.4607, allocations: 172.6 kB / 472.2 MB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.4608, allocations: 11.98 kB / 472.2 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003858/0.4612, allocations: 0.5718 MB / 472.8 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4612, allocations: 8.031 kB / 472.8 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009308/0.4621, allocations: 0.7341 MB / 473.5 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.701e-05/0.4622, allocations: 108.7 kB / 473.6 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.4623, allocations: 11.91 kB / 473.6 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.4625, allocations: 7.984 kB / 473.6 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.4625, allocations: 27.91 kB / 473.7 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.4625, allocations: 13.12 kB / 473.7 MB, free: 11.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.4628, allocations: 226 kB / 473.9 MB, free: 11.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4628, allocations: 0 / 473.9 MB, free: 11.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004993/0.4678, allocations: 0.7418 MB / 474.6 MB, free: 10.29 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.02497/0.4928, allocations: 7.561 MB / 482.2 MB, free: 2.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.494, allocations: 477.5 kB / 482.7 MB, free: 2.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.494, allocations: 0 / 482.7 MB, free: 2.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.4945, allocations: 220.9 kB / 482.9 MB, free: 2.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.4956, allocations: 196 kB / 483.1 MB, free: 1.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008694/0.5044, allocations: 4.031 MB / 487.1 MB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.5048, allocations: 0.8128 MB / 487.9 MB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004398/0.5053, allocations: 187.8 kB / 488.1 MB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.5055, allocations: 135.4 kB / 488.2 MB, free: 12.45 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5055, allocations: 0 / 488.2 MB, free: 12.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06797/0.5735, allocations: 33.88 MB / 0.5099 GB, free: 10.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.49, allocations: 23.95 kB / 0.5099 GB, free: 10.42 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches