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.001289/0.001289, allocations: 112.5 kB / 17.68 MB, free: 5.348 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.001463/0.001463, allocations: 190.9 kB / 18.61 MB, free: 4.43 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.295/1.295, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009612/0.0009613, allocations: 51.45 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08191/0.08289, allocations: 49.43 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1704/0.2533, allocations: 26.58 MB / 378.1 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02167/0.275, allocations: 24.86 MB / 402.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000381/0.2755, allocations: 8.906 kB / 402.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007744/0.2762, allocations: 290.2 kB / 403.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00071/0.277, allocations: 368 kB / 403.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01082/0.2878, allocations: 4.011 MB / 407.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.2891, allocations: 0.9489 MB / 408.5 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.2893, allocations: 108.4 kB / 408.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005182/0.2898, allocations: 388.8 kB / 409 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/0.2902, allocations: 310.1 kB / 409.3 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.2902, allocations: 37.97 kB / 409.4 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01786/0.3081, allocations: 10.41 MB / 419.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.3084, allocations: 107.7 kB / 419.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004107/0.3088, allocations: 232.8 kB / 420.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02561/0.3344, allocations: 11.48 MB / 431.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.3345, allocations: 0 / 431.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3345, allocations: 3.938 kB / 431.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3345, allocations: 0 / 431.6 MB, free: 3.516 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.00589/0.3404, allocations: 1.133 MB / 432.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3405, allocations: 8.031 kB / 432.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006248/0.3411, allocations: 65.31 kB / 432.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.3417, allocations: 320.5 kB / 433.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.3417, allocations: 24.66 kB / 433.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-05/0.3418, allocations: 32 kB / 433.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.3427, allocations: 467.2 kB / 433.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.3427, allocations: 0 / 433.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.3427, allocations: 16 kB / 433.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.3428, allocations: 9 kB / 433.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007198/0.3435, allocations: 387.1 kB / 434 MB, free: 0.9688 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.003685/0.3472, allocations: 2.964 MB / 437 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/0.3478, allocations: 296.8 kB / 437.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.3481, allocations: 138.8 kB / 437.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002191/0.3503, allocations: 2.471 MB / 439.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.3503, allocations: 38.56 kB / 439.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/0.3503, allocations: 0 / 439.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.005234/0.3555, allocations: 1.281 MB / 441.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.3556, allocations: 55.41 kB / 441.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.3559, allocations: 266.5 kB / 441.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.3559, allocations: 37.7 kB / 441.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.3561, allocations: 188 kB / 441.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.3562, allocations: 118.3 kB / 441.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.3563, allocations: 86.03 kB / 441.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3564, allocations: 342.8 kB / 442.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.3566, allocations: 108.8 kB / 442.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.3569, allocations: 230 kB / 442.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.3574, allocations: 377.5 kB / 443 MB, free: 7.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3574, allocations: 0 / 443 MB, free: 7.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007959/0.3582, allocations: 462.6 kB / 443.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3582, allocations: 11.94 kB / 443.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3582, allocations: 3.984 kB / 443.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004956/0.3632, allocations: 233.9 kB / 443.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.3636, allocations: 91.89 kB / 443.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.3649, allocations: 1.943 MB / 445.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.3652, allocations: 12 kB / 445.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.3652, allocations: 20 kB / 445.7 MB, free: 4.121 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.0001972/0.3654, allocations: 169.8 kB / 445.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.15e-05/0.3655, allocations: 31.72 kB / 445.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009791/0.3665, allocations: 0.6911 MB / 446.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.3665, allocations: 7.984 kB / 446.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.3665, allocations: 0 / 446.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007958/0.3673, allocations: 0.8676 MB / 447.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.3687, allocations: 1.195 MB / 448.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.3687, allocations: 4 kB / 448.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.369, allocations: 59.97 kB / 448.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00158/0.3706, allocations: 180.4 kB / 448.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.3706, allocations: 8 kB / 448.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003439/0.371, allocations: 0.5719 MB / 449.5 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.371, allocations: 0 / 449.5 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009822/0.372, allocations: 0.7387 MB / 450.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-05/0.3721, allocations: 104.7 kB / 450.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.09e-05/0.3722, allocations: 12.09 kB / 450.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.3724, allocations: 16 kB / 450.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.522e-05/0.3724, allocations: 23.91 kB / 450.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.3725, allocations: 15.98 kB / 450.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.3727, allocations: 221.9 kB / 450.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3727, allocations: 0 / 450.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004253/0.377, allocations: 0.734 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.02398/0.401, allocations: 6.39 MB / 457.8 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000953/0.4019, allocations: 486.7 kB / 458.2 MB, free: 7.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.402, allocations: 0 / 458.2 MB, free: 7.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.4023, allocations: 216.2 kB / 458.4 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.4034, allocations: 198.3 kB / 458.6 MB, free: 6.938 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.4048, allocations: 0.8917 MB / 459.5 MB, free: 6.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.4052, allocations: 0.8012 MB / 460.3 MB, free: 5.203 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003661/0.4055, allocations: 188.1 kB / 460.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.4056, allocations: 39.42 kB / 460.5 MB, free: 4.984 MB / 366.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4056, allocations: 4 kB / 460.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of Templates: time 0.03881/0.4444, allocations: 28.96 MB / 489.5 MB, free: 8.055 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 gbode -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