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.001247/0.001247, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1981, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03457/0.2327, allocations: 37.74 MB / 447.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02915/0.2618, allocations: 30.63 MB / 478.3 MB, free: 12.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.2622, allocations: 7.938 kB / 478.3 MB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008817/0.2631, allocations: 413.7 kB / 478.7 MB, free: 12.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000852/0.264, allocations: 0.5127 MB / 479.2 MB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01045/0.2744, allocations: 5.145 MB / 484.4 MB, free: 6.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001245/0.2757, allocations: 1.352 MB / 485.7 MB, free: 5.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.2759, allocations: 170.7 kB / 485.9 MB, free: 5.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006307/0.2766, allocations: 0.5332 MB / 486.4 MB, free: 4.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004522/0.277, allocations: 438.3 kB / 486.9 MB, free: 4.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.45e-05/0.2771, allocations: 56 kB / 486.9 MB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02148/0.2986, allocations: 12.81 MB / 499.7 MB, free: 7.496 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.2988, allocations: 151.5 kB / 499.9 MB, free: 7.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000371/0.2992, allocations: 318.8 kB / 0.4885 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03583/0.335, allocations: 14.92 MB / 0.503 GB, free: 8.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3351, allocations: 0 / 0.503 GB, free: 8.098 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3351, allocations: 3.938 kB / 0.503 GB, free: 8.094 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.3351, allocations: 0 / 0.503 GB, free: 8.094 MB / 430.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.006408/0.3415, allocations: 1.423 MB / 0.5044 GB, free: 6.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3415, allocations: 8.031 kB / 0.5044 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006663/0.3422, allocations: 99.23 kB / 0.5045 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.3427, allocations: 382 kB / 0.5049 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.3428, allocations: 37 kB / 0.5049 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-05/0.3429, allocations: 47.98 kB / 0.505 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.344, allocations: 0.6205 MB / 0.5056 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.344, allocations: 7.938 kB / 0.5056 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.344, allocations: 20 kB / 0.5056 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3441, allocations: 12 kB / 0.5056 GB, free: 5.309 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009811/0.345, allocations: 0.5307 MB / 0.5061 GB, free: 4.777 MB / 430.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.003931/0.349, allocations: 3.799 MB / 0.5099 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000873/0.3499, allocations: 412.6 kB / 0.5103 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/0.3502, allocations: 213.2 kB / 0.5105 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002996/0.3532, allocations: 3.459 MB / 0.5138 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.3532, allocations: 34.94 kB / 0.5139 GB, free: 11.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 3.036e-06/0.3532, allocations: 3.984 kB / 0.5139 GB, free: 11.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.009246/0.3625, allocations: 2.033 MB / 0.5159 GB, free: 9.734 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.3625, allocations: 63.78 kB / 0.5159 GB, free: 9.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.3628, allocations: 308.4 kB / 0.5162 GB, free: 9.355 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.3629, allocations: 37.7 kB / 0.5162 GB, free: 9.312 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.363, allocations: 236.6 kB / 0.5165 GB, free: 9.078 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.3632, allocations: 189.2 kB / 0.5167 GB, free: 8.891 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.3633, allocations: 118.2 kB / 0.5168 GB, free: 8.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3634, allocations: 350.8 kB / 0.5171 GB, free: 8.418 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.3637, allocations: 177.2 kB / 0.5173 GB, free: 8.246 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.3641, allocations: 328.1 kB / 0.5176 GB, free: 7.863 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007596/0.3649, allocations: 0.5562 MB / 0.5181 GB, free: 7.246 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3649, allocations: 4 kB / 0.5181 GB, free: 7.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001242/0.3662, allocations: 0.6618 MB / 0.5188 GB, free: 6.562 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3662, allocations: 8 kB / 0.5188 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.3662, allocations: 7.938 kB / 0.5188 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/0.3764, allocations: 450.6 kB / 0.5192 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.377, allocations: 139.8 kB / 0.5194 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.3789, allocations: 3.093 MB / 0.5224 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.3792, allocations: 19.94 kB / 0.5224 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.3792, allocations: 28 kB / 0.5224 GB, free: 2.605 MB / 446.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.0002044/0.3794, allocations: 201.3 kB / 0.5226 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.3795, allocations: 39.53 kB / 0.5227 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.381, allocations: 1.052 MB / 0.5237 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00114/0.3821, allocations: 1.091 MB / 0.5247 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3822, allocations: 0 / 0.5247 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3823, allocations: 120.6 kB / 0.5249 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/0.3823, allocations: 12 kB / 0.5249 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.3826, allocations: 23.92 kB / 0.5249 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.3827, allocations: 32.52 kB / 0.5249 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001462/0.3841, allocations: 0.8051 MB / 0.5257 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00135/0.3855, allocations: 1.122 MB / 0.5268 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003631/0.3859, allocations: 304.9 kB / 0.5271 GB, free: 13.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002439/0.3861, allocations: 251 kB / 0.5273 GB, free: 13.43 MB / 462.1 MB Notification: Performance of Backend: time 4.01e-07/0.3861, allocations: 0 / 0.5273 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.04735/0.4335, allocations: 12.65 MB / 0.5397 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of SimCode: time 0.1528/0.5863, allocations: 1.605 MB / 0.5413 GB, free: 120.5 MB / 462.1 MB Notification: Performance of Templates: time 0.04089/0.6272, allocations: 41.54 MB / 0.5818 GB, free: 88.05 MB / 462.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/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