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.002807/0.002812, allocations: 186.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.127/3.127, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001641/0.001641, allocations: 90.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.0004271, allocations: 16 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09974/0.1002, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.3731/0.4734, allocations: 22.53 MB / 397.1 MB, free: 9.129 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03512/0.5086, allocations: 20.79 MB / 417.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/0.5092, allocations: 3.719 kB / 417.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.5104, allocations: 243.7 kB / 418.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009333/0.5113, allocations: 267.1 kB / 418.4 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01922/0.5305, allocations: 3.092 MB / 421.4 MB, free: 9.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.5326, allocations: 0.5326 MB / 422 MB, free: 9.207 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/0.533, allocations: 79.41 kB / 422.1 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.5343, allocations: 289.7 kB / 422.3 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006062/0.5349, allocations: 195.2 kB / 422.5 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.026e-05/0.535, allocations: 17 kB / 422.5 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1494/0.6845, allocations: 53.56 MB / 476.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003017/0.6848, allocations: 79.72 kB / 476.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003578/0.6852, allocations: 105.6 kB / 476.3 MB, free: 5.578 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.06647/0.7517, allocations: 10.64 MB / 486.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.7518, allocations: 0 / 486.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.7518, allocations: 7.875 kB / 486.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.7518, allocations: 0 / 486.9 MB, free: 10.92 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.00845/0.7603, allocations: 1.069 MB / 488 MB, free: 9.801 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.7603, allocations: 8.031 kB / 488 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007185/0.7611, allocations: 71.5 kB / 488.1 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/0.7616, allocations: 306.4 kB / 488.4 MB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.7617, allocations: 25.53 kB / 488.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.589e-05/0.7618, allocations: 35.95 kB / 488.4 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.7631, allocations: 455.8 kB / 488.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.7631, allocations: 0 / 488.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/0.7632, allocations: 16 kB / 488.9 MB, free: 8.824 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.7632, allocations: 12 kB / 488.9 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.7643, allocations: 378.3 kB / 489.3 MB, free: 8.445 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.005019/0.7694, allocations: 2.962 MB / 492.3 MB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00099/0.7704, allocations: 287.3 kB / 492.5 MB, free: 4.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003689/0.7741, allocations: 2.541 MB / 495.1 MB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.7742, allocations: 38.56 kB / 495.1 MB, free: 1.871 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 3.016e-06/0.7742, allocations: 0 / 495.1 MB, free: 1.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.007667/0.7819, allocations: 1.297 MB / 496.4 MB, free: 0.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.782, allocations: 59.41 kB / 496.5 MB, free: 440 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.7824, allocations: 258.5 kB / 496.7 MB, free: 168 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.7824, allocations: 41.64 kB / 496.8 MB, free: 120 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.7826, allocations: 250.5 kB / 497 MB, free: 15.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.7828, allocations: 118.3 kB / 497.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.7828, allocations: 8 kB / 497.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.783, allocations: 322.8 kB / 497.4 MB, free: 15.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.7833, allocations: 112.8 kB / 497.6 MB, free: 15.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.7837, allocations: 226 kB / 497.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.7841, allocations: 152.7 kB / 497.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.7842, allocations: 4 kB / 497.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001361/0.7855, allocations: 442.7 kB / 498.4 MB, free: 14.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.7856, allocations: 7.953 kB / 498.4 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.7856, allocations: 4 kB / 498.4 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007809/0.7934, allocations: 241.9 kB / 498.6 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/0.7941, allocations: 95.83 kB / 498.7 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.796, allocations: 1.852 MB / 0.4888 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.7965, allocations: 32.2 kB / 0.4889 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.7966, allocations: 16 kB / 0.4889 GB, free: 12.04 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.0002875/0.7969, allocations: 165.7 kB / 0.489 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.797, allocations: 31.62 kB / 0.4891 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.7988, allocations: 0.6936 MB / 0.4897 GB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.7989, allocations: 4 kB / 0.4897 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.7989, allocations: 0 / 0.4897 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001288/0.8002, allocations: 0.8593 MB / 0.4906 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.8025, allocations: 1.21 MB / 0.4918 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.8026, allocations: 0 / 0.4918 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/0.8031, allocations: 63.91 kB / 0.4918 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002742/0.8058, allocations: 184.5 kB / 0.492 GB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.8059, allocations: 7.984 kB / 0.492 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004889/0.8064, allocations: 0.5719 MB / 0.4926 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8064, allocations: 0 / 0.4926 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.808, allocations: 0.7374 MB / 0.4933 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.8082, allocations: 124.6 kB / 0.4934 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.8083, allocations: 12 kB / 0.4934 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.8087, allocations: 19.94 kB / 0.4934 GB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.8087, allocations: 23.91 kB / 0.4935 GB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.8088, allocations: 12 kB / 0.4935 GB, free: 7.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003406/0.8091, allocations: 226 kB / 0.4937 GB, free: 6.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8092, allocations: 0 / 0.4937 GB, free: 6.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005846/0.815, allocations: 0.7379 MB / 0.4944 GB, free: 6.129 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.05636/0.8714, allocations: 6.395 MB / 0.5006 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.873, allocations: 479.6 kB / 0.5011 GB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.873, allocations: 0 / 0.5011 GB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007207/0.8738, allocations: 228.2 kB / 0.5013 GB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.8763, allocations: 177.4 kB / 0.5015 GB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.8804, allocations: 1.116 MB / 0.5026 GB, free: 13.69 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009078/0.8814, allocations: 0.8167 MB / 0.5034 GB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/0.8817, allocations: 43.42 kB / 0.5034 GB, free: 12.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.864e-06/0.8818, allocations: 0 / 0.5034 GB, free: 12.8 MB / 394.7 MB Notification: Performance of Templates: time 0.34/1.222, allocations: 30.09 MB / 0.5328 GB, free: 133.6 MB / 410.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/jenkins1/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