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.001309/0.001309, allocations: 178.6 kB / 16.41 MB, free: 5.707 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.304/1.304, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0008325/0.0008326, allocations: 88.92 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003074, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2183, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02206/0.2404, allocations: 24.6 MB / 399.1 MB, free: 24.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01808/0.2585, allocations: 22.85 MB / 422 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004251/0.2589, allocations: 4 kB / 422 MB, free: 1.289 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007101/0.2597, allocations: 226.8 kB / 422.2 MB, free: 1.066 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007505/0.2604, allocations: 350.1 kB / 422.6 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01016/0.2706, allocations: 2.984 MB / 425.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.2721, allocations: 1.169 MB / 426.7 MB, free: 12.56 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.2724, allocations: 93.02 kB / 426.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007839/0.2732, allocations: 338.7 kB / 427.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004844/0.2737, allocations: 290.9 kB / 427.4 MB, free: 11.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.484e-05/0.2738, allocations: 16 kB / 427.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05312/0.3269, allocations: 40.21 MB / 467.6 MB, free: 3.582 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.3272, allocations: 83.7 kB / 467.7 MB, free: 3.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.3274, allocations: 109.5 kB / 467.8 MB, free: 3.387 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03076/0.3581, allocations: 10.68 MB / 478.5 MB, free: 8.699 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3582, allocations: 0 / 478.5 MB, free: 8.699 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3582, allocations: 0 / 478.5 MB, free: 8.699 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3582, allocations: 0 / 478.5 MB, free: 8.699 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.005935/0.3642, allocations: 1.057 MB / 479.6 MB, free: 7.594 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3642, allocations: 12.03 kB / 479.6 MB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005213/0.3647, allocations: 75.39 kB / 479.7 MB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.3652, allocations: 319.4 kB / 480 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.3652, allocations: 20.66 kB / 480 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/0.3653, allocations: 36 kB / 480 MB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008956/0.3662, allocations: 459.7 kB / 480.5 MB, free: 6.613 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.3662, allocations: 0 / 480.5 MB, free: 6.613 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.3663, allocations: 20 kB / 480.5 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.3663, allocations: 11.98 kB / 480.5 MB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/0.367, allocations: 382.3 kB / 480.9 MB, free: 6.211 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.003307/0.3703, allocations: 2.945 MB / 483.8 MB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006407/0.371, allocations: 294.1 kB / 484.1 MB, free: 2.734 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.3712, allocations: 133.2 kB / 484.2 MB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002382/0.3736, allocations: 2.544 MB / 486.8 MB, free: 15.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.3736, allocations: 42.55 kB / 486.8 MB, free: 15.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/0.3736, allocations: 0 / 486.8 MB, free: 15.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.004898/0.3785, allocations: 1.285 MB / 488.1 MB, free: 14.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.3786, allocations: 55.41 kB / 488.2 MB, free: 14.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.3789, allocations: 270.5 kB / 488.4 MB, free: 13.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.3789, allocations: 29.7 kB / 488.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.379, allocations: 188 kB / 488.6 MB, free: 13.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.32e-05/0.3791, allocations: 126.2 kB / 488.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.3791, allocations: 8 kB / 488.8 MB, free: 13.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.3793, allocations: 342.8 kB / 489.1 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.3795, allocations: 112.8 kB / 489.2 MB, free: 13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.3797, allocations: 222.1 kB / 489.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.38, allocations: 155.9 kB / 489.6 MB, free: 12.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.38, allocations: 0 / 489.6 MB, free: 12.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000804/0.3808, allocations: 458.5 kB / 490 MB, free: 12.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3808, allocations: 4 kB / 490 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.3808, allocations: 4.438 kB / 490 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004465/0.3853, allocations: 237.4 kB / 490.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.3857, allocations: 87.89 kB / 490.4 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.387, allocations: 1.852 MB / 492.2 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.3873, allocations: 36.05 kB / 492.2 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.3874, allocations: 16 kB / 492.3 MB, free: 9.727 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.0001909/0.3876, allocations: 157.8 kB / 492.4 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.3876, allocations: 31.62 kB / 492.4 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.3886, allocations: 0.7014 MB / 493.1 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.3887, allocations: 11.94 kB / 493.2 MB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3887, allocations: 0 / 493.2 MB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007888/0.3895, allocations: 0.8596 MB / 494 MB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.3909, allocations: 1.186 MB / 495.2 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3909, allocations: 0 / 495.2 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.3912, allocations: 67.86 kB / 495.3 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/0.3929, allocations: 184.5 kB / 495.4 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.3929, allocations: 8 kB / 495.5 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003368/0.3932, allocations: 0.5796 MB / 496 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3932, allocations: 0 / 496 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009163/0.3942, allocations: 0.7337 MB / 496.8 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.3943, allocations: 128.6 kB / 496.9 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.3944, allocations: 8 kB / 496.9 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.3946, allocations: 23.88 kB / 496.9 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.3946, allocations: 31.77 kB / 497 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.3947, allocations: 12 kB / 497 MB, free: 4.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002223/0.3949, allocations: 221.9 kB / 497.2 MB, free: 4.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3949, allocations: 0 / 497.2 MB, free: 4.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004194/0.3991, allocations: 0.734 MB / 497.9 MB, free: 3.828 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.1746/0.5737, allocations: 6.381 MB / 0.4925 GB, free: 106.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.5748, allocations: 477.7 kB / 0.4929 GB, free: 106.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5748, allocations: 0 / 0.4929 GB, free: 106.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003949/0.5752, allocations: 227.6 kB / 0.4932 GB, free: 106.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.5763, allocations: 185.2 kB / 0.4933 GB, free: 106.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.5779, allocations: 1.112 MB / 0.4944 GB, free: 105.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.5781, allocations: 0.8078 MB / 0.4952 GB, free: 104.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.5782, allocations: 43.3 kB / 0.4952 GB, free: 104.9 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.5782, allocations: 3.844 kB / 0.4953 GB, free: 104.9 MB / 378.7 MB Notification: Performance of Templates: time 0.03421/0.6125, allocations: 29.12 MB / 0.5237 GB, free: 82.15 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