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.001182/0.001182, allocations: 93.52 kB / 16.3 MB, free: 5.656 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.001426/0.001426, allocations: 188.2 kB / 17.2 MB, free: 5.594 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.281/1.281, allocations: 223.2 MB / 241.1 MB, free: 5.434 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002494/0.0002495, allocations: 6.156 kB / 300.7 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08425/0.08451, allocations: 50.43 MB / 351.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02305/0.1076, allocations: 22.53 MB / 373.7 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02249/0.1301, allocations: 20.79 MB / 394.4 MB, free: 320 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003787/0.1305, allocations: 4 kB / 394.4 MB, free: 316 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008531/0.1314, allocations: 243 kB / 394.7 MB, free: 72 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00066/0.1321, allocations: 263.2 kB / 394.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008738/0.1408, allocations: 3.099 MB / 398 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000823/0.1417, allocations: 0.5311 MB / 398.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.1418, allocations: 85.02 kB / 398.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000437/0.1423, allocations: 287.1 kB / 398.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.1425, allocations: 191.2 kB / 399.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.1426, allocations: 16 kB / 399.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2062/0.3488, allocations: 53.56 MB / 452.7 MB, free: 19.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.349, allocations: 82.58 kB / 452.8 MB, free: 19.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.3491, allocations: 110 kB / 452.9 MB, free: 19.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02202/0.3712, allocations: 10.64 MB / 463.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3712, allocations: 0 / 463.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.3712, allocations: 0 / 463.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.3712, allocations: 3 kB / 463.5 MB, free: 10.21 MB / 350.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.005462/0.3767, allocations: 1.061 MB / 464.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3768, allocations: 16.02 kB / 464.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004601/0.3772, allocations: 64.11 kB / 464.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.3775, allocations: 308.2 kB / 465 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.3776, allocations: 24.09 kB / 465 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.3776, allocations: 37.75 kB / 465 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006956/0.3783, allocations: 455.5 kB / 465.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.3783, allocations: 3.797 kB / 465.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.3784, allocations: 15.88 kB / 465.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.3784, allocations: 9.719 kB / 465.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/0.379, allocations: 385.9 kB / 465.9 MB, free: 8.137 MB / 350.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.00281/0.3818, allocations: 2.948 MB / 468.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.3824, allocations: 295.3 kB / 469.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001737/0.3841, allocations: 2.548 MB / 471.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.3841, allocations: 34.78 kB / 471.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.3842, allocations: 1 kB / 471.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.004568/0.3887, allocations: 1.293 MB / 473 MB, free: 1.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.3888, allocations: 60.22 kB / 473.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.389, allocations: 256.7 kB / 473.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.389, allocations: 37.31 kB / 473.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.3891, allocations: 192.4 kB / 473.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.508e-05/0.3891, allocations: 116.1 kB / 473.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.3892, allocations: 12.09 kB / 473.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.3892, allocations: 336.2 kB / 474 MB, free: 180 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.3894, allocations: 110.6 kB / 474.1 MB, free: 108 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.3896, allocations: 227.7 kB / 474.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.3898, allocations: 154.7 kB / 474.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3898, allocations: 0 / 474.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007274/0.3906, allocations: 457.7 kB / 474.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3906, allocations: 4 kB / 474.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3906, allocations: 7.828 kB / 474.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004548/0.3952, allocations: 244.4 kB / 475.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.3955, allocations: 91.95 kB / 475.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.3968, allocations: 1.846 MB / 477.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.3971, allocations: 30.78 kB / 477.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.3971, allocations: 19.94 kB / 477.1 MB, free: 13.27 MB / 366.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 (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.0001885/0.3973, allocations: 169.8 kB / 477.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.3974, allocations: 27.72 kB / 477.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.3984, allocations: 0.6869 MB / 478 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.3984, allocations: 12.44 kB / 478 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.3984, allocations: 0 / 478 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007461/0.3992, allocations: 0.8619 MB / 478.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.4007, allocations: 1.196 MB / 480.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4007, allocations: 5.391 kB / 480.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.401, allocations: 61.81 kB / 480.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.4026, allocations: 185.6 kB / 480.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.4026, allocations: 3.75 kB / 480.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002965/0.4029, allocations: 0.5803 MB / 480.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.403, allocations: 0 / 480.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008303/0.4038, allocations: 0.7315 MB / 481.7 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.4039, allocations: 128 kB / 481.8 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.404, allocations: 11.38 kB / 481.8 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.4042, allocations: 21.14 kB / 481.8 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.4042, allocations: 24.22 kB / 481.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.4043, allocations: 11.25 kB / 481.8 MB, free: 9.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001995/0.4045, allocations: 222.5 kB / 482.1 MB, free: 9.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4045, allocations: 0 / 482.1 MB, free: 9.328 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004363/0.4088, allocations: 0.7411 MB / 482.8 MB, free: 8.641 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 (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.03381/0.4427, allocations: 6.39 MB / 489.2 MB, free: 2.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009494/0.4437, allocations: 473.5 kB / 489.7 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.4437, allocations: 0 / 489.7 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003429/0.444, allocations: 224 kB / 489.9 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.4451, allocations: 183.2 kB / 490.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.4465, allocations: 1.087 MB / 491.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.4469, allocations: 0.8129 MB / 492 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000385/0.4473, allocations: 196.2 kB / 492.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.4474, allocations: 42.67 kB / 492.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4474, allocations: 4 kB / 492.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of Templates: time 0.03787/0.4853, allocations: 28.18 MB / 0.5082 GB, free: 4.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches