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.001603/0.001603, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 59.94 kB / 306.9 MB, free: 0.6875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08104/0.0822, allocations: 50.54 MB / 357.5 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1698/0.252, allocations: 26.67 MB / 384.1 MB, free: 5.605 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02491/0.277, allocations: 24.9 MB / 409 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005553/0.2776, allocations: 8.469 kB / 409 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008771/0.2785, allocations: 288.1 kB / 409.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008502/0.2794, allocations: 373.8 kB / 409.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01253/0.2919, allocations: 4.016 MB / 413.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001343/0.2933, allocations: 0.9482 MB / 414.7 MB, free: 40 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.2935, allocations: 102.4 kB / 414.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005183/0.294, allocations: 387.9 kB / 415.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.2944, allocations: 305 kB / 415.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.989e-05/0.2944, allocations: 37.06 kB / 415.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01982/0.3143, allocations: 10.42 MB / 425.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.3146, allocations: 99.67 kB / 426 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004777/0.3151, allocations: 223.2 kB / 426.2 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03211/0.3472, allocations: 11.49 MB / 437.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.3473, allocations: 0 / 437.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3473, allocations: 0 / 437.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.3473, allocations: 0 / 437.7 MB, free: 10.65 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.006176/0.3535, allocations: 1.139 MB / 438.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.3535, allocations: 12.03 kB / 438.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005477/0.3541, allocations: 67.5 kB / 438.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.3545, allocations: 314.4 kB / 439.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.3545, allocations: 28.64 kB / 439.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.3545, allocations: 32 kB / 439.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007863/0.3553, allocations: 471.7 kB / 439.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.3554, allocations: 3.906 kB / 439.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.3554, allocations: 12 kB / 439.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3554, allocations: 15.94 kB / 439.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007087/0.3561, allocations: 390.3 kB / 440.1 MB, free: 8.07 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.003132/0.3593, allocations: 2.945 MB / 443.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.3599, allocations: 298.1 kB / 443.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.3601, allocations: 137.5 kB / 443.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002278/0.3624, allocations: 2.466 MB / 446 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.3624, allocations: 34.56 kB / 446 MB, free: 1.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.3625, allocations: 4 kB / 446 MB, free: 1.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005855/0.3683, allocations: 1.29 MB / 447.3 MB, free: 80 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.3684, allocations: 55.41 kB / 447.4 MB, free: 12 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004053/0.3688, allocations: 258.5 kB / 447.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.522e-05/0.3689, allocations: 33.7 kB / 447.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.369, allocations: 196 kB / 447.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.3692, allocations: 118.3 kB / 448 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.3694, allocations: 86.03 kB / 448 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3695, allocations: 338.8 kB / 448.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.3698, allocations: 112.8 kB / 448.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.3703, allocations: 226.1 kB / 448.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007739/0.371, allocations: 382.3 kB / 449.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3711, allocations: 0 / 449.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001222/0.3723, allocations: 456.7 kB / 449.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.3723, allocations: 15.88 kB / 449.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.3724, allocations: 7.938 kB / 449.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007783/0.3801, allocations: 229.4 kB / 449.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.3807, allocations: 96.11 kB / 449.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.3825, allocations: 1.943 MB / 451.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.3829, allocations: 15.94 kB / 451.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/0.3829, allocations: 19.98 kB / 451.8 MB, free: 11.21 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.000247/0.3832, allocations: 161.9 kB / 452 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.3833, allocations: 31.62 kB / 452 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.3848, allocations: 0.6948 MB / 452.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.3849, allocations: 8 kB / 452.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3849, allocations: 4 kB / 452.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/0.3861, allocations: 0.8595 MB / 453.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.3881, allocations: 1.194 MB / 454.8 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.3881, allocations: 3.984 kB / 454.8 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.3885, allocations: 59.91 kB / 454.9 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002265/0.3908, allocations: 176.6 kB / 455 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.3909, allocations: 11.98 kB / 455 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004427/0.3913, allocations: 0.572 MB / 455.6 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3913, allocations: 3.938 kB / 455.6 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.3927, allocations: 0.7367 MB / 456.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.3928, allocations: 104.7 kB / 456.5 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/0.3929, allocations: 11.98 kB / 456.5 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.3932, allocations: 4 kB / 456.5 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.3933, allocations: 28.06 kB / 456.5 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.3933, allocations: 16 kB / 456.5 MB, free: 6.316 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003051/0.3936, allocations: 221.9 kB / 456.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3937, allocations: 0 / 456.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005371/0.399, allocations: 0.7418 MB / 457.5 MB, free: 5.355 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.05009/0.4491, allocations: 6.415 MB / 463.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.4503, allocations: 490.3 kB / 464.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4503, allocations: 4 kB / 464.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003611/0.4506, allocations: 224.1 kB / 464.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.4517, allocations: 188.8 kB / 464.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.4532, allocations: 0.9008 MB / 465.7 MB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.4535, allocations: 0.8012 MB / 466.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003771/0.4539, allocations: 194.9 kB / 466.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/0.454, allocations: 39.42 kB / 466.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.454, allocations: 0 / 466.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of Templates: time 0.0393/0.4933, allocations: 29 MB / 495.7 MB, free: 15.04 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches