Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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: 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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 119.8 kB / 18.42 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001195/0.001195, allocations: 215.5 kB / 19.36 MB, free: 3.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 61.67 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.0929, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1732/0.2661, allocations: 37.73 MB / 396.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03022/0.2964, allocations: 30.64 MB / 427.3 MB, free: 6.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000487/0.2969, allocations: 7.938 kB / 427.3 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.298, allocations: 409.6 kB / 427.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009815/0.299, allocations: 0.5127 MB / 428.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.013/0.312, allocations: 5.149 MB / 433.3 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001583/0.3136, allocations: 1.352 MB / 434.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.3139, allocations: 174.4 kB / 434.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000678/0.3146, allocations: 0.5332 MB / 435.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.315, allocations: 438.3 kB / 435.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.76e-05/0.3151, allocations: 52 kB / 435.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0211/0.3362, allocations: 12.81 MB / 448.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.3365, allocations: 151.5 kB / 448.8 MB, free: 480 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004538/0.337, allocations: 314.8 kB / 449.1 MB, free: 164 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0306/0.3676, allocations: 14.92 MB / 464.1 MB, free: 1.227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.3676, allocations: 0 / 464.1 MB, free: 1.227 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3676, allocations: 3.938 kB / 464.1 MB, free: 1.223 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3677, allocations: 0 / 464.1 MB, free: 1.223 MB / 366.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.006532/0.3742, allocations: 1.423 MB / 465.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3742, allocations: 12.03 kB / 465.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006789/0.3749, allocations: 91.3 kB / 465.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/0.3755, allocations: 393.9 kB / 466 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.3755, allocations: 33 kB / 466 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.3756, allocations: 48 kB / 466 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.3767, allocations: 0.6244 MB / 466.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.3767, allocations: 7.922 kB / 466.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.852e-05/0.3768, allocations: 24 kB / 466.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.3768, allocations: 15.94 kB / 466.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/0.3778, allocations: 0.5229 MB / 467.2 MB, free: 13.9 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.00411/0.3819, allocations: 3.799 MB / 471 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008909/0.3828, allocations: 420.6 kB / 471.5 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.3831, allocations: 213.5 kB / 471.7 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002886/0.386, allocations: 3.447 MB / 475.1 MB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.386, allocations: 38.94 kB / 475.1 MB, free: 4.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.004e-06/0.3861, allocations: 0 / 475.1 MB, free: 4.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.009495/0.3956, allocations: 2.023 MB / 477.2 MB, free: 2.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.3956, allocations: 59.78 kB / 477.2 MB, free: 2.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.3959, allocations: 320.3 kB / 477.5 MB, free: 2.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.396, allocations: 37.7 kB / 477.6 MB, free: 2.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.3961, allocations: 236.6 kB / 477.8 MB, free: 2.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.3963, allocations: 185.3 kB / 478 MB, free: 2.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.3964, allocations: 118.2 kB / 478.1 MB, free: 1.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3966, allocations: 350.8 kB / 478.4 MB, free: 1.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.3969, allocations: 181.2 kB / 478.6 MB, free: 1.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.3973, allocations: 328.1 kB / 478.9 MB, free: 0.9805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007644/0.3981, allocations: 0.5484 MB / 479.5 MB, free: 380 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3981, allocations: 0 / 479.5 MB, free: 380 kB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001251/0.3994, allocations: 0.6735 MB / 480.2 MB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3994, allocations: 7.984 kB / 480.2 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3994, allocations: 11.94 kB / 480.2 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009792/0.4092, allocations: 442.6 kB / 480.6 MB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.4098, allocations: 141.1 kB / 480.8 MB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.4117, allocations: 3.089 MB / 483.8 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.4121, allocations: 19.94 kB / 483.9 MB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.4121, allocations: 28.55 kB / 483.9 MB, free: 11.73 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002395/0.4124, allocations: 193.8 kB / 484.1 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.4125, allocations: 43.53 kB / 484.1 MB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.414, allocations: 1.048 MB / 485.2 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.4141, allocations: 15.98 kB / 485.2 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.4141, allocations: 0 / 485.2 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/0.4152, allocations: 1.088 MB / 486.3 MB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.4173, allocations: 1.737 MB / 488 MB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4173, allocations: 0 / 488 MB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.4177, allocations: 95.89 kB / 488.1 MB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00318/0.4209, allocations: 361 kB / 488.5 MB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.421, allocations: 15.94 kB / 488.5 MB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006988/0.4217, allocations: 1.152 MB / 489.6 MB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.4217, allocations: 0 / 489.6 MB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.4231, allocations: 1.128 MB / 490.8 MB, free: 4.629 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.4232, allocations: 116.7 kB / 490.9 MB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.4233, allocations: 23.89 kB / 490.9 MB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.4236, allocations: 19.92 kB / 490.9 MB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.4236, allocations: 32.52 kB / 490.9 MB, free: 4.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.4237, allocations: 25.11 kB / 491 MB, free: 4.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000249/0.4239, allocations: 251 kB / 491.2 MB, free: 4.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4239, allocations: 0 / 491.2 MB, free: 4.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005165/0.4291, allocations: 0.9605 MB / 492.2 MB, free: 3.191 MB / 398.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 (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 Backend phase and start with SimCode phase: time 0.02832/0.4575, allocations: 7.87 MB / 0.4883 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.4591, allocations: 0.724 MB / 0.489 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4591, allocations: 0 / 0.489 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005922/0.4597, allocations: 371.5 kB / 0.4894 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.461, allocations: 257 kB / 0.4896 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.4631, allocations: 1.313 MB / 0.4909 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.4635, allocations: 0.8648 MB / 0.4918 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004506/0.4639, allocations: 252.6 kB / 0.492 GB, free: 7.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.464, allocations: 51.42 kB / 0.492 GB, free: 7.426 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.464, allocations: 0 / 0.492 GB, free: 7.426 MB / 414.1 MB Notification: Performance of Templates: time 0.04621/0.5103, allocations: 36.09 MB / 0.5273 GB, free: 3.34 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches