Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 205.9 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 59.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2573, allocations: 50.54 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02612/0.2835, allocations: 26.68 MB / 435.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02433/0.3079, allocations: 24.89 MB / 460.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004091/0.3083, allocations: 8 kB / 460.8 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008862/0.3092, allocations: 290.3 kB / 461.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007272/0.31, allocations: 373.9 kB / 461.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01072/0.3207, allocations: 4.017 MB / 465.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.3219, allocations: 0.9464 MB / 466.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.3222, allocations: 113 kB / 466.6 MB, free: 8.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006069/0.3228, allocations: 382.7 kB / 466.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003706/0.3232, allocations: 306.7 kB / 467.2 MB, free: 7.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.361e-05/0.3232, allocations: 36 kB / 467.3 MB, free: 7.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01729/0.3405, allocations: 10.42 MB / 477.7 MB, free: 12.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.3408, allocations: 107.7 kB / 477.8 MB, free: 12.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.3411, allocations: 235.1 kB / 478 MB, free: 12.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02548/0.3666, allocations: 11.48 MB / 489.5 MB, free: 1.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3666, allocations: 0 / 489.5 MB, free: 1.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3667, allocations: 0 / 489.5 MB, free: 1.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.3667, allocations: 0 / 489.5 MB, free: 1.098 MB / 398.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.005451/0.3721, allocations: 1.15 MB / 490.7 MB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3722, allocations: 8.031 kB / 490.7 MB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005259/0.3727, allocations: 63.59 kB / 490.7 MB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.3731, allocations: 326.3 kB / 491 MB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.3732, allocations: 28.66 kB / 491.1 MB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.3732, allocations: 32 kB / 491.1 MB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008108/0.3741, allocations: 463.7 kB / 491.6 MB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.3741, allocations: 4 kB / 491.6 MB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.3741, allocations: 16 kB / 491.6 MB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3741, allocations: 11.94 kB / 491.6 MB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006904/0.3748, allocations: 386.2 kB / 492 MB, free: 14.51 MB / 414.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.003139/0.378, allocations: 2.941 MB / 494.9 MB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.3787, allocations: 290.8 kB / 495.2 MB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.3789, allocations: 132.8 kB / 495.3 MB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002337/0.3812, allocations: 2.474 MB / 497.8 MB, free: 7.934 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.3813, allocations: 42.56 kB / 497.8 MB, free: 7.883 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.013e-06/0.3813, allocations: 0 / 497.8 MB, free: 7.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005185/0.3865, allocations: 1.29 MB / 499.1 MB, free: 6.516 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3865, allocations: 55.41 kB / 499.2 MB, free: 6.449 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.3868, allocations: 270.5 kB / 499.4 MB, free: 6.176 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.3868, allocations: 29.7 kB / 499.5 MB, free: 6.141 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.387, allocations: 192 kB / 499.7 MB, free: 5.949 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.091e-05/0.387, allocations: 118.3 kB / 499.8 MB, free: 5.832 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.3872, allocations: 86.12 kB / 499.9 MB, free: 5.742 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3873, allocations: 338.8 kB / 0.4885 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.3876, allocations: 108.8 kB / 0.4886 GB, free: 5.297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.3878, allocations: 230 kB / 0.4888 GB, free: 5.023 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/0.3884, allocations: 369.5 kB / 0.4891 GB, free: 4.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.3884, allocations: 4 kB / 0.4891 GB, free: 4.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008036/0.3892, allocations: 470.8 kB / 0.4896 GB, free: 4.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3892, allocations: 6.656 kB / 0.4896 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.3892, allocations: 4 kB / 0.4896 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004918/0.3941, allocations: 233.4 kB / 0.4898 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.3945, allocations: 87.89 kB / 0.4899 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.396, allocations: 1.947 MB / 0.4918 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.3962, allocations: 12 kB / 0.4918 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.3962, allocations: 20 kB / 0.4918 GB, free: 1.664 MB / 414.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.0001853/0.3964, allocations: 177 kB / 0.492 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/0.3965, allocations: 31.66 kB / 0.492 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.3975, allocations: 0.697 MB / 0.4927 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3976, allocations: 4 kB / 0.4927 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.3976, allocations: 0 / 0.4927 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009171/0.3985, allocations: 0.871 MB / 0.4936 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.3999, allocations: 1.187 MB / 0.4947 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3999, allocations: 0 / 0.4947 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.4002, allocations: 63.97 kB / 0.4948 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/0.4018, allocations: 184.4 kB / 0.495 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.4018, allocations: 11.98 kB / 0.495 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003516/0.4022, allocations: 0.572 MB / 0.4955 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4022, allocations: 3.938 kB / 0.4955 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.4032, allocations: 0.7303 MB / 0.4963 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.4033, allocations: 108.6 kB / 0.4964 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.4033, allocations: 12 kB / 0.4964 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.4035, allocations: 4 kB / 0.4964 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.4036, allocations: 31.89 kB / 0.4964 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.4036, allocations: 12.12 kB / 0.4964 GB, free: 12.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002154/0.4038, allocations: 225.9 kB / 0.4966 GB, free: 12.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4038, allocations: 0 / 0.4966 GB, free: 12.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003819/0.4076, allocations: 0.7457 MB / 0.4974 GB, free: 11.77 MB / 430.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.0226/0.4303, allocations: 6.385 MB / 0.5036 GB, free: 5.367 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009719/0.4313, allocations: 482.2 kB / 0.5041 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4313, allocations: 0 / 0.5041 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.4317, allocations: 224 kB / 0.5043 GB, free: 4.664 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.4328, allocations: 184.7 kB / 0.5045 GB, free: 4.484 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.4342, allocations: 0.8932 MB / 0.5053 GB, free: 3.562 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.4345, allocations: 0.8051 MB / 0.5061 GB, free: 2.727 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000361/0.4349, allocations: 190.9 kB / 0.5063 GB, free: 2.539 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.435, allocations: 39.44 kB / 0.5063 GB, free: 2.504 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.435, allocations: 0 / 0.5063 GB, free: 2.504 MB / 430.1 MB Notification: Performance of Templates: time 0.03737/0.4724, allocations: 29.1 MB / 0.5347 GB, free: 5.402 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches