Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001027, allocations: 102.1 kB / 16.94 MB, free: 5.98 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.00114/0.001141, allocations: 176.6 kB / 17.82 MB, free: 5.652 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.368/1.368, allocations: 205.4 MB / 224 MB, free: 13.12 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.0004507/0.0004509, allocations: 8 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0909/0.09136, allocations: 47.59 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03171/0.1231, allocations: 31.68 MB / 360 MB, free: 4.336 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2044/0.3276, allocations: 25.57 MB / 385.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000592/0.3282, allocations: 10.28 kB / 385.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.3294, allocations: 344.9 kB / 385.9 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.3304, allocations: 365 kB / 386.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01481/0.3453, allocations: 3.965 MB / 390.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.3468, allocations: 0.7634 MB / 391 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002518/0.3471, allocations: 113.6 kB / 391.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007568/0.3479, allocations: 398.9 kB / 391.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.3483, allocations: 275.8 kB / 391.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.16e-05/0.3483, allocations: 28.34 kB / 391.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0806/0.4289, allocations: 69.17 MB / 461 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000389/0.4294, allocations: 112.3 kB / 461.1 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004403/0.4298, allocations: 144.5 kB / 461.2 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04073/0.4706, allocations: 13.82 MB / 475 MB, free: 6.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4706, allocations: 0 / 475 MB, free: 6.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4706, allocations: 3 kB / 475 MB, free: 6.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.4706, allocations: 0 / 475 MB, free: 6.863 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.007738/0.4784, allocations: 1.322 MB / 476.4 MB, free: 5.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.4784, allocations: 8.031 kB / 476.4 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007365/0.4792, allocations: 96.5 kB / 476.5 MB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005502/0.4797, allocations: 374 kB / 476.8 MB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.4798, allocations: 34.75 kB / 476.9 MB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.4799, allocations: 46.5 kB / 476.9 MB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.481, allocations: 0.6095 MB / 477.5 MB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.4811, allocations: 12.44 kB / 477.5 MB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.4811, allocations: 17.38 kB / 477.6 MB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.4812, allocations: 12 kB / 477.6 MB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009176/0.4821, allocations: 0.5266 MB / 478.1 MB, free: 4.238 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.004877/0.487, allocations: 3.813 MB / 481.9 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009565/0.4879, allocations: 416.8 kB / 482.3 MB, free: 368 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003907/0.4919, allocations: 3.552 MB / 485.9 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.4919, allocations: 42.03 kB / 485.9 MB, free: 12.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.545e-06/0.4919, allocations: 6.734 kB / 485.9 MB, free: 12.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.009397/0.5013, allocations: 2.04 MB / 487.9 MB, free: 10.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.5015, allocations: 60.05 kB / 488 MB, free: 10.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.5019, allocations: 302.3 kB / 488.3 MB, free: 10.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.5019, allocations: 37.33 kB / 488.3 MB, free: 10.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.5021, allocations: 235.5 kB / 488.6 MB, free: 9.992 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.5022, allocations: 194 kB / 488.8 MB, free: 9.832 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.5023, allocations: 14 kB / 488.8 MB, free: 9.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5024, allocations: 348.3 kB / 489.1 MB, free: 9.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.5027, allocations: 177.2 kB / 489.3 MB, free: 9.391 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.5032, allocations: 329.3 kB / 489.6 MB, free: 9.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/0.5035, allocations: 229.8 kB / 489.8 MB, free: 8.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5035, allocations: 0 / 489.8 MB, free: 8.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001274/0.5048, allocations: 0.6687 MB / 490.5 MB, free: 8.516 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.5049, allocations: 11.98 kB / 490.5 MB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5049, allocations: 4 kB / 490.5 MB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009064/0.5139, allocations: 452.6 kB / 491 MB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/0.5146, allocations: 141.2 kB / 491.1 MB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.5166, allocations: 2.998 MB / 494.1 MB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.5171, allocations: 47.03 kB / 494.1 MB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/0.5172, allocations: 34.58 kB / 494.2 MB, free: 4.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002464/0.5174, allocations: 186.2 kB / 494.4 MB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-05/0.5175, allocations: 39.53 kB / 494.4 MB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.5189, allocations: 1.064 MB / 495.5 MB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.5189, allocations: 11.69 kB / 495.5 MB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.5189, allocations: 0 / 495.5 MB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/0.52, allocations: 1.089 MB / 496.6 MB, free: 3.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.522, allocations: 1.74 MB / 498.3 MB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.522, allocations: 0 / 498.3 MB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.5224, allocations: 98.38 kB / 498.4 MB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003072/0.5255, allocations: 358.5 kB / 498.7 MB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/0.5256, allocations: 18.3 kB / 498.8 MB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007053/0.5263, allocations: 1.145 MB / 499.9 MB, free: 336 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5263, allocations: 4.062 kB / 499.9 MB, free: 332 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.5278, allocations: 1.128 MB / 0.4893 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.5279, allocations: 137.3 kB / 0.4894 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.528, allocations: 17.98 kB / 0.4894 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.5283, allocations: 30.28 kB / 0.4895 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.5284, allocations: 39.94 kB / 0.4895 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.5284, allocations: 19.8 kB / 0.4895 GB, free: 15.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002622/0.5287, allocations: 246.6 kB / 0.4898 GB, free: 15.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5287, allocations: 0 / 0.4898 GB, free: 15.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005889/0.5346, allocations: 0.9597 MB / 0.4907 GB, free: 14.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.04309/0.5777, allocations: 7.865 MB / 0.4984 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.5794, allocations: 0.6936 MB / 0.4991 GB, free: 6.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.5795, allocations: 4 kB / 0.4991 GB, free: 6.066 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005706/0.5801, allocations: 371.3 kB / 0.4994 GB, free: 5.844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/0.5814, allocations: 245.8 kB / 0.4997 GB, free: 5.641 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.5836, allocations: 1.625 MB / 0.5012 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.5841, allocations: 0.8725 MB / 0.5021 GB, free: 3.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005421/0.5846, allocations: 239.2 kB / 0.5023 GB, free: 3.043 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.5847, allocations: 54.67 kB / 0.5024 GB, free: 2.992 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5848, allocations: 0 / 0.5024 GB, free: 2.992 MB / 414.1 MB Notification: Performance of Templates: time 0.04932/0.6341, allocations: 34.94 MB / 0.5365 GB, free: 296 kB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches