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.001119/0.001119, allocations: 116.9 kB / 18.4 MB, free: 4.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 204.5 kB / 19.35 MB, free: 3.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.62 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1059, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1839/0.2899, allocations: 26.66 MB / 385.6 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0245/0.3144, allocations: 24.89 MB / 410.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004374/0.3149, allocations: 9.438 kB / 410.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008517/0.3157, allocations: 291.9 kB / 410.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00076/0.3166, allocations: 362.4 kB / 411.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01137/0.3279, allocations: 4.022 MB / 415.1 MB, free: 244 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.3294, allocations: 0.9436 MB / 416.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.3296, allocations: 111.5 kB / 416.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006321/0.3302, allocations: 387.3 kB / 416.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/0.3306, allocations: 307.4 kB / 416.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.3307, allocations: 36.56 kB / 416.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01816/0.3488, allocations: 10.43 MB / 427.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.3491, allocations: 103.7 kB / 427.4 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000397/0.3495, allocations: 227.1 kB / 427.6 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0261/0.3756, allocations: 11.49 MB / 439.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.3756, allocations: 0 / 439.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3757, allocations: 0 / 439.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.415e-05/0.3757, allocations: 0.8125 kB / 439.1 MB, free: 10.07 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.006725/0.3824, allocations: 1.147 MB / 440.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.3825, allocations: 12.03 kB / 440.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005887/0.3831, allocations: 63.5 kB / 440.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.3836, allocations: 322.4 kB / 440.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.3836, allocations: 24.66 kB / 440.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.3837, allocations: 32 kB / 440.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008725/0.3846, allocations: 471.7 kB / 441.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.3846, allocations: 7.844 kB / 441.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.3847, allocations: 16 kB / 441.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3847, allocations: 8.875 kB / 441.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007337/0.3854, allocations: 390.3 kB / 441.6 MB, free: 7.477 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.003778/0.3892, allocations: 2.949 MB / 444.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006448/0.3899, allocations: 293.3 kB / 444.8 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.3901, allocations: 132.8 kB / 445 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002292/0.3924, allocations: 2.474 MB / 447.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3924, allocations: 34.25 kB / 447.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.3924, allocations: 0 / 447.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005101/0.3975, allocations: 1.284 MB / 448.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.3976, allocations: 55.41 kB / 448.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.3979, allocations: 262.5 kB / 449.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.3979, allocations: 33.7 kB / 449.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.398, allocations: 203.9 kB / 449.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.762e-05/0.3981, allocations: 118.3 kB / 449.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3982, allocations: 82.03 kB / 449.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.3984, allocations: 338.8 kB / 449.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.3986, allocations: 112.8 kB / 449.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.3988, allocations: 226.1 kB / 450.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.3993, allocations: 381.5 kB / 450.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3993, allocations: 0 / 450.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008151/0.4002, allocations: 454.7 kB / 451 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4002, allocations: 11.94 kB / 451 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.4002, allocations: 4 kB / 451 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004825/0.405, allocations: 229.9 kB / 451.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.4054, allocations: 95.83 kB / 451.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.4069, allocations: 1.946 MB / 453.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.4071, allocations: 16 kB / 453.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.4072, allocations: 19.94 kB / 453.3 MB, free: 10.63 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.0002063/0.4074, allocations: 165.4 kB / 453.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/0.4075, allocations: 35.62 kB / 453.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.4086, allocations: 0.6967 MB / 454.2 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.4086, allocations: 4 kB / 454.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.4086, allocations: 0 / 454.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008308/0.4094, allocations: 0.8634 MB / 455 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.4109, allocations: 1.198 MB / 456.2 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4109, allocations: 3.938 kB / 456.2 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.4112, allocations: 67.91 kB / 456.3 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/0.4128, allocations: 168.6 kB / 456.5 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.4128, allocations: 11.98 kB / 456.5 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003515/0.4132, allocations: 0.5719 MB / 457.1 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4132, allocations: 0 / 457.1 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009247/0.4141, allocations: 0.7343 MB / 457.8 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.016e-05/0.4142, allocations: 108.7 kB / 457.9 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.4142, allocations: 4.156 kB / 457.9 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.4144, allocations: 16 kB / 457.9 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.4145, allocations: 27.89 kB / 457.9 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.4145, allocations: 12 kB / 458 MB, free: 5.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002222/0.4148, allocations: 221.9 kB / 458.2 MB, free: 5.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4148, allocations: 0 / 458.2 MB, free: 5.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004328/0.4191, allocations: 0.7457 MB / 458.9 MB, free: 4.758 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.02329/0.4424, allocations: 6.381 MB / 465.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009397/0.4434, allocations: 493.1 kB / 465.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4434, allocations: 0 / 465.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.4438, allocations: 216.2 kB / 466 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.4448, allocations: 199.5 kB / 466.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.4463, allocations: 0.8885 MB / 467.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.4467, allocations: 0.8051 MB / 467.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003764/0.447, allocations: 191.5 kB / 468.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.4471, allocations: 35.44 kB / 468.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4471, allocations: 4 kB / 468.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of Templates: time 0.03966/0.4868, allocations: 29.02 MB / 497.1 MB, free: 14.46 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 -s gbode -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