Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 173.8 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007788/0.0007788, allocations: 82.38 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003071, allocations: 20 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2206, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.0212/0.2418, allocations: 24.68 MB / 399.8 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02017/0.2621, allocations: 22.87 MB / 422.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005061/0.2626, allocations: 4 kB / 422.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008062/0.2634, allocations: 218.8 kB / 422.9 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007382/0.2642, allocations: 354.1 kB / 423.2 MB, free: 484 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01113/0.2753, allocations: 2.998 MB / 426.2 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.277, allocations: 1.165 MB / 427.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.2772, allocations: 86.03 kB / 427.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006844/0.2779, allocations: 330.7 kB / 427.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004205/0.2784, allocations: 298.8 kB / 428.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.651e-05/0.2784, allocations: 20 kB / 428.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05831/0.3367, allocations: 40.21 MB / 468.3 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003022/0.3371, allocations: 83.7 kB / 468.4 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.3375, allocations: 225 kB / 468.6 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03025/0.3678, allocations: 10.67 MB / 479.3 MB, free: 8.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.3679, allocations: 4 kB / 479.3 MB, free: 8.336 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3679, allocations: 0 / 479.3 MB, free: 8.336 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3679, allocations: 0 / 479.3 MB, free: 8.336 MB / 362.7 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.006467/0.3744, allocations: 1.057 MB / 480.3 MB, free: 7.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.3744, allocations: 12.03 kB / 480.3 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005516/0.375, allocations: 76.38 kB / 480.4 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.3754, allocations: 319.6 kB / 480.7 MB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.3755, allocations: 29.03 kB / 480.8 MB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.3755, allocations: 32.38 kB / 480.8 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008769/0.3764, allocations: 467.9 kB / 481.2 MB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.3764, allocations: 3.938 kB / 481.3 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.3765, allocations: 16 kB / 481.3 MB, free: 6.219 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.3765, allocations: 8 kB / 481.3 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006735/0.3772, allocations: 382.3 kB / 481.6 MB, free: 5.84 MB / 362.7 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.003338/0.3805, allocations: 2.941 MB / 484.6 MB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006019/0.3811, allocations: 293.2 kB / 484.9 MB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.3813, allocations: 137.2 kB / 485 MB, free: 2.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002237/0.3836, allocations: 2.54 MB / 487.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.3836, allocations: 38.56 kB / 487.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.796e-06/0.3837, allocations: 0 / 487.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.005049/0.3887, allocations: 1.3 MB / 488.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.3888, allocations: 55.41 kB / 488.9 MB, free: 13.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.3891, allocations: 254.6 kB / 489.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.3891, allocations: 33.7 kB / 489.2 MB, free: 13.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.3892, allocations: 192 kB / 489.4 MB, free: 13.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.425e-05/0.3893, allocations: 118.3 kB / 489.5 MB, free: 13.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.3893, allocations: 12 kB / 489.5 MB, free: 13.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.3894, allocations: 338.8 kB / 489.9 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.3896, allocations: 108.8 kB / 490 MB, free: 12.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.3899, allocations: 234 kB / 490.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.3904, allocations: 369.5 kB / 490.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3904, allocations: 3.938 kB / 490.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008198/0.3912, allocations: 458.5 kB / 491 MB, free: 11.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3913, allocations: 10.19 kB / 491 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3913, allocations: 4 kB / 491 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004827/0.3961, allocations: 241.9 kB / 491.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.3966, allocations: 91.83 kB / 491.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.3985, allocations: 1.844 MB / 493.2 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.3989, allocations: 28.11 kB / 493.2 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.399, allocations: 20 kB / 493.2 MB, free: 9.094 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000277/0.3993, allocations: 161.7 kB / 493.4 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.3994, allocations: 35.61 kB / 493.4 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.4005, allocations: 0.6904 MB / 494.1 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.4005, allocations: 11.98 kB / 494.1 MB, free: 8.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4005, allocations: 4 kB / 494.1 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008164/0.4013, allocations: 0.8596 MB / 495 MB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.4028, allocations: 1.187 MB / 496.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.4028, allocations: 8 kB / 496.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.4032, allocations: 67.83 kB / 496.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/0.4048, allocations: 172.6 kB / 496.4 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.4048, allocations: 15.98 kB / 496.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003466/0.4052, allocations: 0.5718 MB / 497 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4052, allocations: 0 / 497 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009076/0.4061, allocations: 0.7369 MB / 497.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.4062, allocations: 132.7 kB / 497.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.4063, allocations: 12 kB / 497.9 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.4065, allocations: 19.92 kB / 497.9 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.4066, allocations: 23.72 kB / 497.9 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.4066, allocations: 12 kB / 498 MB, free: 4.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002288/0.4068, allocations: 217.9 kB / 498.2 MB, free: 3.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4069, allocations: 7.938 kB / 498.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004679/0.4115, allocations: 0.7379 MB / 498.9 MB, free: 3.191 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.2036/0.6152, allocations: 6.39 MB / 0.4935 GB, free: 106.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.6162, allocations: 480.6 kB / 0.4939 GB, free: 106 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6163, allocations: 3.969 kB / 0.4939 GB, free: 106 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.6167, allocations: 216.6 kB / 0.4941 GB, free: 106 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.6179, allocations: 184.9 kB / 0.4943 GB, free: 106 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.6196, allocations: 1.122 MB / 0.4954 GB, free: 105.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.6199, allocations: 0.8067 MB / 0.4962 GB, free: 104.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.988e-05/0.62, allocations: 42.53 kB / 0.4962 GB, free: 104.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.253e-06/0.62, allocations: 0 / 0.4962 GB, free: 104.8 MB / 378.7 MB Notification: Performance of Templates: time 0.03683/0.6568, allocations: 29.12 MB / 0.5247 GB, free: 81.46 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches