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.0008898/0.0008899, allocations: 94.7 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009367/0.0009369, allocations: 198.1 kB / 17.89 MB, free: 5.945 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.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002045/0.0002045, allocations: 4 kB / 306.6 MB, free: 1.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1078, allocations: 51.49 MB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.2103/0.3182, allocations: 31.71 MB / 389.8 MB, free: 2.906 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02854/0.3467, allocations: 25.6 MB / 415.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007763/0.3476, allocations: 8.531 kB / 415.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.3486, allocations: 327.4 kB / 415.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009206/0.3496, allocations: 365.9 kB / 416 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01325/0.3628, allocations: 3.971 MB / 420 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001632/0.3645, allocations: 0.7661 MB / 420.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.3647, allocations: 125.8 kB / 420.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006651/0.3654, allocations: 402.8 kB / 421.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.3657, allocations: 278.9 kB / 421.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.658e-05/0.3658, allocations: 28 kB / 421.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.07553/0.4413, allocations: 69.17 MB / 490.8 MB, free: 5.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003057/0.4417, allocations: 111.6 kB / 490.9 MB, free: 5.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.4421, allocations: 137.5 kB / 491 MB, free: 5.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05566/0.4977, allocations: 13.84 MB / 0.493 GB, free: 7.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4978, allocations: 4 kB / 0.493 GB, free: 7.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4978, allocations: 0 / 0.493 GB, free: 7.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.4978, allocations: 0 / 0.493 GB, free: 7.656 MB / 414.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.01221/0.51, allocations: 1.305 MB / 0.4943 GB, free: 6.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.5101, allocations: 12.03 kB / 0.4943 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.5115, allocations: 95.3 kB / 0.4944 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008883/0.5124, allocations: 382 kB / 0.4948 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.124e-05/0.5125, allocations: 40.95 kB / 0.4948 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.5127, allocations: 48 kB / 0.4948 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.5149, allocations: 0.6127 MB / 0.4954 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.515, allocations: 3.984 kB / 0.4954 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.038e-05/0.5151, allocations: 24 kB / 0.4955 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.5151, allocations: 12 kB / 0.4955 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.517, allocations: 0.519 MB / 0.496 GB, free: 4.48 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.007765/0.5248, allocations: 3.816 MB / 0.4997 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.5266, allocations: 415.8 kB / 0.5001 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005884/0.5325, allocations: 3.56 MB / 0.5036 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.5326, allocations: 34.94 kB / 0.5036 GB, free: 11.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 4.068e-06/0.5326, allocations: 0 / 0.5036 GB, free: 11.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=54): time 0.01849/0.5511, allocations: 2.037 MB / 0.5056 GB, free: 9.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.5512, allocations: 59.84 kB / 0.5057 GB, free: 9.449 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.5517, allocations: 308.5 kB / 0.506 GB, free: 9.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.62e-05/0.5518, allocations: 33.7 kB / 0.506 GB, free: 9.105 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.552, allocations: 232.6 kB / 0.5062 GB, free: 8.871 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.5522, allocations: 189.3 kB / 0.5064 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.5522, allocations: 8 kB / 0.5064 GB, free: 8.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.5524, allocations: 358.7 kB / 0.5067 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.553, allocations: 173.2 kB / 0.5069 GB, free: 8.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006786/0.5537, allocations: 328 kB / 0.5072 GB, free: 7.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006745/0.5543, allocations: 238.9 kB / 0.5075 GB, free: 7.535 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.5544, allocations: 4 kB / 0.5075 GB, free: 7.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002136/0.5565, allocations: 0.6695 MB / 0.5081 GB, free: 6.848 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.5566, allocations: 8 kB / 0.5081 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.5566, allocations: 4 kB / 0.5081 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01681/0.5734, allocations: 454.6 kB / 0.5086 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.5746, allocations: 139.8 kB / 0.5087 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/0.578, allocations: 2.998 MB / 0.5116 GB, free: 3.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007872/0.5788, allocations: 52 kB / 0.5117 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.579, allocations: 31.44 kB / 0.5117 GB, free: 2.965 MB / 430.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.0004492/0.5794, allocations: 189.6 kB / 0.5119 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.5796, allocations: 43.53 kB / 0.5119 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/0.5824, allocations: 1.061 MB / 0.513 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.5824, allocations: 15.98 kB / 0.513 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5824, allocations: 0 / 0.513 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001924/0.5844, allocations: 1.087 MB / 0.514 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/0.5881, allocations: 1.734 MB / 0.5157 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.5882, allocations: 0 / 0.5157 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007103/0.5889, allocations: 99.88 kB / 0.5158 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005286/0.5942, allocations: 361 kB / 0.5162 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.754e-05/0.5943, allocations: 15.98 kB / 0.5162 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.5953, allocations: 1.144 MB / 0.5173 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5953, allocations: 0 / 0.5173 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.5979, allocations: 1.131 MB / 0.5184 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/0.5981, allocations: 144.3 kB / 0.5185 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.5983, allocations: 12.09 kB / 0.5186 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005768/0.5989, allocations: 31.92 kB / 0.5186 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.599, allocations: 36.59 kB / 0.5186 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.299e-05/0.5991, allocations: 23.98 kB / 0.5186 GB, free: 11.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004527/0.5995, allocations: 243 kB / 0.5189 GB, free: 11.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5996, allocations: 7.938 kB / 0.5189 GB, free: 11.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008161/0.6077, allocations: 0.9566 MB / 0.5198 GB, free: 10.39 MB / 446.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.06154/0.6693, allocations: 7.861 MB / 0.5275 GB, free: 2.512 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.6708, allocations: 0.6967 MB / 0.5282 GB, free: 1.797 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.6708, allocations: 0 / 0.5282 GB, free: 1.797 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005657/0.6714, allocations: 363.5 kB / 0.5285 GB, free: 1.441 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.6727, allocations: 265.3 kB / 0.5288 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1791/0.8518, allocations: 1.597 MB / 0.5303 GB, free: 98.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.8523, allocations: 0.8775 MB / 0.5312 GB, free: 97.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008334/0.8531, allocations: 235.9 kB / 0.5314 GB, free: 97.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.8533, allocations: 49.91 kB / 0.5315 GB, free: 97.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.174e-06/0.8533, allocations: 0.5625 kB / 0.5315 GB, free: 97.71 MB / 446.1 MB Notification: Performance of Templates: time 0.04536/0.8987, allocations: 35.01 MB / 0.5657 GB, free: 80.39 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches