Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 113.6 kB / 17.69 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 192 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 54.69 kB / 302.1 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08344/0.08448, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1783/0.2628, allocations: 26.58 MB / 378.1 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02097/0.2838, allocations: 24.86 MB / 402.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003316/0.2842, allocations: 5.781 kB / 402.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007853/0.285, allocations: 286.3 kB / 403.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007049/0.2857, allocations: 368.1 kB / 403.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01089/0.2966, allocations: 4.009 MB / 407.6 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.2978, allocations: 0.9503 MB / 408.5 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.298, allocations: 113.7 kB / 408.7 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005377/0.2986, allocations: 385.3 kB / 409 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003579/0.2989, allocations: 302.8 kB / 409.3 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.061e-05/0.299, allocations: 37.12 kB / 409.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01666/0.3157, allocations: 10.42 MB / 419.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.3159, allocations: 108.9 kB / 419.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003995/0.3163, allocations: 227.2 kB / 420.1 MB, free: 15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02442/0.3407, allocations: 11.48 MB / 431.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3408, allocations: 1.406 kB / 431.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3408, allocations: 0 / 431.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3408, allocations: 0 / 431.6 MB, free: 3.504 MB / 334.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.005271/0.3461, allocations: 1.125 MB / 432.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3461, allocations: 12.03 kB / 432.7 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005287/0.3467, allocations: 65.31 kB / 432.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.3471, allocations: 326.8 kB / 433.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.3472, allocations: 22.38 kB / 433.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.3472, allocations: 36 kB / 433.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008024/0.348, allocations: 467.2 kB / 433.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.3481, allocations: 3.938 kB / 433.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.3481, allocations: 12 kB / 433.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.3481, allocations: 8 kB / 433.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.3488, allocations: 395.9 kB / 434 MB, free: 0.9453 MB / 334.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.003766/0.3526, allocations: 2.947 MB / 437 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.3533, allocations: 299.1 kB / 437.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.3535, allocations: 137.3 kB / 437.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002219/0.3557, allocations: 2.466 MB / 439.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.3557, allocations: 42.5 kB / 439.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.924e-06/0.3558, allocations: 0 / 439.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005271/0.361, allocations: 1.29 MB / 441.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.3611, allocations: 55.41 kB / 441.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.3613, allocations: 262.5 kB / 441.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.3614, allocations: 29.7 kB / 441.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3615, allocations: 196 kB / 441.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.419e-05/0.3616, allocations: 118.3 kB / 441.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.3617, allocations: 82.03 kB / 441.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3618, allocations: 338.8 kB / 442.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.362, allocations: 112.8 kB / 442.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.3623, allocations: 234 kB / 442.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.3628, allocations: 374.4 kB / 443 MB, free: 7.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3628, allocations: 0 / 443 MB, free: 7.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007752/0.3636, allocations: 466.5 kB / 443.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3636, allocations: 11.94 kB / 443.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3636, allocations: 7.938 kB / 443.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00474/0.3683, allocations: 233.9 kB / 443.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.3687, allocations: 91.83 kB / 443.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.37, allocations: 1.935 MB / 445.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.3702, allocations: 12 kB / 445.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.3703, allocations: 19.98 kB / 445.7 MB, free: 4.105 MB / 350.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.00018/0.3705, allocations: 169.8 kB / 445.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.53e-05/0.3705, allocations: 27.72 kB / 445.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009772/0.3715, allocations: 0.6952 MB / 446.6 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.3716, allocations: 11.98 kB / 446.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.3716, allocations: 0 / 446.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007975/0.3724, allocations: 0.8638 MB / 447.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.3738, allocations: 1.187 MB / 448.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3738, allocations: 7.984 kB / 448.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.374, allocations: 59.91 kB / 448.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.3756, allocations: 184.4 kB / 448.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.3756, allocations: 12 kB / 448.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000323/0.376, allocations: 0.5641 MB / 449.5 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.376, allocations: 0 / 449.5 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009031/0.3769, allocations: 0.7347 MB / 450.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-05/0.377, allocations: 116.8 kB / 450.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.377, allocations: 11.94 kB / 450.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.3772, allocations: 9 kB / 450.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.3773, allocations: 27.91 kB / 450.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.3773, allocations: 12 kB / 450.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002085/0.3775, allocations: 217.9 kB / 450.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3775, allocations: 0 / 450.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003867/0.3814, allocations: 0.7379 MB / 451.4 MB, free: 14.23 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.02228/0.4037, allocations: 6.405 MB / 457.8 MB, free: 7.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009625/0.4047, allocations: 478.7 kB / 458.2 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4047, allocations: 0 / 458.2 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003713/0.4051, allocations: 225.1 kB / 458.5 MB, free: 7.102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009655/0.4061, allocations: 187.8 kB / 458.6 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.4075, allocations: 0.8934 MB / 459.5 MB, free: 6.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.4079, allocations: 0.8129 MB / 460.4 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003594/0.4082, allocations: 184.1 kB / 460.5 MB, free: 4.992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.4083, allocations: 39.44 kB / 460.6 MB, free: 4.953 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4083, allocations: 0 / 460.6 MB, free: 4.953 MB / 366.1 MB Notification: Performance of Templates: time 0.03832/0.4467, allocations: 28.95 MB / 489.5 MB, free: 8.039 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches