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: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 109.6 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001524, allocations: 216 kB / 19.25 MB, free: 3.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 56.03 kB / 307.6 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.09329, allocations: 50.53 MB / 358.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1874/0.2807, allocations: 26.67 MB / 384.8 MB, free: 5.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02589/0.3067, allocations: 24.9 MB / 409.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005085/0.3072, allocations: 8.062 kB / 409.7 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.3082, allocations: 288.8 kB / 410 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.3093, allocations: 369.7 kB / 410.4 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0135/0.3228, allocations: 4.02 MB / 414.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001414/0.3243, allocations: 0.943 MB / 415.3 MB, free: 56 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.3246, allocations: 112.8 kB / 415.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007823/0.3254, allocations: 386.2 kB / 415.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.3258, allocations: 305.7 kB / 416.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.991e-05/0.3259, allocations: 37.41 kB / 416.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02034/0.3462, allocations: 10.41 MB / 426.6 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.3465, allocations: 95.73 kB / 426.7 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004158/0.3469, allocations: 235.1 kB / 426.9 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03428/0.3812, allocations: 11.48 MB / 438.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3813, allocations: 4 kB / 438.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3813, allocations: 0 / 438.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.3813, allocations: 0 / 438.4 MB, free: 10.67 MB / 350.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.007402/0.3887, allocations: 1.135 MB / 439.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.3888, allocations: 12.03 kB / 439.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006263/0.3894, allocations: 67.5 kB / 439.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.3899, allocations: 314.4 kB / 439.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.3899, allocations: 28.66 kB / 439.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/0.39, allocations: 32 kB / 439.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009065/0.3909, allocations: 467.6 kB / 440.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.391, allocations: 11.91 kB / 440.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.391, allocations: 16 kB / 440.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.391, allocations: 8 kB / 440.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007086/0.3917, allocations: 386.3 kB / 440.8 MB, free: 8.094 MB / 350.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.003334/0.3951, allocations: 2.95 MB / 443.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000634/0.3957, allocations: 298 kB / 444.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.3959, allocations: 132.8 kB / 444.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002394/0.3983, allocations: 2.466 MB / 446.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/0.3984, allocations: 42.5 kB / 446.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.3984, allocations: 3.938 kB / 446.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005128/0.4036, allocations: 1.288 MB / 448 MB, free: 100 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.4036, allocations: 59.41 kB / 448 MB, free: 28 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.4039, allocations: 258.5 kB / 448.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.404, allocations: 37.64 kB / 448.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.4041, allocations: 188 kB / 448.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.103e-05/0.4042, allocations: 126.3 kB / 448.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.4043, allocations: 82.03 kB / 448.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4044, allocations: 334.8 kB / 449 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.4046, allocations: 116.8 kB / 449.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.4049, allocations: 230 kB / 449.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/0.4054, allocations: 378.3 kB / 449.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.4055, allocations: 4 kB / 449.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00081/0.4063, allocations: 455.7 kB / 450.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4063, allocations: 7.938 kB / 450.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.4063, allocations: 4 kB / 450.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004654/0.411, allocations: 241.8 kB / 450.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.4113, allocations: 83.89 kB / 450.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.4128, allocations: 1.952 MB / 452.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.4131, allocations: 8 kB / 452.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.4131, allocations: 28.17 kB / 452.5 MB, free: 11.23 MB / 366.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.0002077/0.4133, allocations: 165.3 kB / 452.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.4134, allocations: 35.61 kB / 452.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.4145, allocations: 0.6979 MB / 453.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.4145, allocations: 7.984 kB / 453.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.4146, allocations: 3.938 kB / 453.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008279/0.4154, allocations: 0.8634 MB / 454.3 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.4169, allocations: 1.186 MB / 455.5 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4169, allocations: 4 kB / 455.5 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.4172, allocations: 67.91 kB / 455.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/0.4187, allocations: 172.6 kB / 455.7 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.4187, allocations: 12 kB / 455.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003605/0.4191, allocations: 0.5719 MB / 456.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4191, allocations: 0 / 456.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000929/0.4201, allocations: 0.7328 MB / 457 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.4202, allocations: 108.8 kB / 457.1 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.4202, allocations: 16 kB / 457.1 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.4204, allocations: 4 kB / 457.2 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.4205, allocations: 27.91 kB / 457.2 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.4205, allocations: 12 kB / 457.2 MB, free: 6.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002595/0.4208, allocations: 221.9 kB / 457.4 MB, free: 6.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4208, allocations: 0 / 457.4 MB, free: 6.105 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004548/0.4254, allocations: 0.7418 MB / 458.2 MB, free: 5.363 MB / 366.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.0355/0.4609, allocations: 6.405 MB / 464.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.4621, allocations: 493.5 kB / 465 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4622, allocations: 0 / 465 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.4626, allocations: 224.1 kB / 465.3 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4637, allocations: 189.4 kB / 465.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.4653, allocations: 0.9344 MB / 466.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.4657, allocations: 0.809 MB / 467.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.4658, allocations: 43.44 kB / 467.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4658, allocations: 0 / 467.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of Templates: time 0.0403/0.5061, allocations: 29.31 MB / 496.5 MB, free: 14.85 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile (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 & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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