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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001803/0.001803, allocations: 104.5 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00225/0.00225, allocations: 213.8 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 59.91 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2767, allocations: 53.33 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03161/0.3083, allocations: 27.06 MB / 456.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02908/0.3374, allocations: 25.08 MB / 481.9 MB, free: 3.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.3377, allocations: 4 kB / 481.9 MB, free: 3.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009327/0.3387, allocations: 318.3 kB / 482.3 MB, free: 2.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008062/0.3395, allocations: 385.9 kB / 482.6 MB, free: 2.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01123/0.3507, allocations: 4.093 MB / 486.7 MB, free: 14.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.352, allocations: 0.9465 MB / 487.7 MB, free: 13.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.3523, allocations: 92.97 kB / 487.8 MB, free: 13.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006583/0.3529, allocations: 390.6 kB / 488.1 MB, free: 12.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004319/0.3534, allocations: 314.8 kB / 488.5 MB, free: 12.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-05/0.3534, allocations: 40 kB / 488.5 MB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01938/0.3728, allocations: 10.49 MB / 499 MB, free: 2.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.373, allocations: 107.6 kB / 499.1 MB, free: 2.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003624/0.3734, allocations: 223.1 kB / 499.3 MB, free: 1.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02809/0.4015, allocations: 11.51 MB / 0.4988 GB, free: 6.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.4015, allocations: 4 kB / 0.4988 GB, free: 6.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4015, allocations: 0 / 0.4988 GB, free: 6.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.4015, allocations: 0 / 0.4988 GB, free: 6.281 MB / 414.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.005964/0.4075, allocations: 1.18 MB / 0.5 GB, free: 5.043 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4075, allocations: 8.031 kB / 0.5 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006329/0.4081, allocations: 71.72 kB / 0.5001 GB, free: 4.965 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.4086, allocations: 330.4 kB / 0.5004 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.4086, allocations: 24.66 kB / 0.5004 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.4087, allocations: 28 kB / 0.5004 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008908/0.4096, allocations: 467.7 kB / 0.5009 GB, free: 4.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.4096, allocations: 11.89 kB / 0.5009 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.4097, allocations: 15.98 kB / 0.5009 GB, free: 4.035 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.4097, allocations: 8 kB / 0.5009 GB, free: 4.027 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007636/0.4104, allocations: 386.3 kB / 0.5013 GB, free: 3.648 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.003538/0.414, allocations: 2.938 MB / 0.5042 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/0.4146, allocations: 290.8 kB / 0.5044 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.4149, allocations: 132.7 kB / 0.5046 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002626/0.4175, allocations: 2.458 MB / 0.507 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.4175, allocations: 42.55 kB / 0.507 GB, free: 13.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.304e-06/0.4175, allocations: 7.938 kB / 0.507 GB, free: 13.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.005808/0.4233, allocations: 1.294 MB / 0.5083 GB, free: 11.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.4234, allocations: 59.41 kB / 0.5083 GB, free: 11.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.4237, allocations: 262.5 kB / 0.5086 GB, free: 11.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.4237, allocations: 33.7 kB / 0.5086 GB, free: 11.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.4238, allocations: 188.4 kB / 0.5088 GB, free: 11.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.424, allocations: 130.9 kB / 0.5089 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.4241, allocations: 86.08 kB / 0.509 GB, free: 10.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4242, allocations: 338.8 kB / 0.5093 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.4244, allocations: 116.8 kB / 0.5094 GB, free: 10.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.4247, allocations: 230 kB / 0.5097 GB, free: 10.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/0.4253, allocations: 373.5 kB / 0.51 GB, free: 9.738 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4253, allocations: 0 / 0.51 GB, free: 9.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009454/0.4262, allocations: 463 kB / 0.5104 GB, free: 9.273 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4263, allocations: 12.03 kB / 0.5105 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.4263, allocations: 4 kB / 0.5105 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006296/0.4326, allocations: 245.4 kB / 0.5107 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.4329, allocations: 87.84 kB / 0.5108 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.4346, allocations: 1.943 MB / 0.5127 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.4348, allocations: 16.08 kB / 0.5127 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.4348, allocations: 20 kB / 0.5127 GB, free: 6.781 MB / 430.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.0002016/0.435, allocations: 165.7 kB / 0.5129 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.4352, allocations: 35.75 kB / 0.5129 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.4363, allocations: 0.6816 MB / 0.5136 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.4363, allocations: 11.98 kB / 0.5136 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.4363, allocations: 8 kB / 0.5136 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009676/0.4373, allocations: 0.8632 MB / 0.5144 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.4389, allocations: 1.187 MB / 0.5156 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4389, allocations: 3.938 kB / 0.5156 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.4392, allocations: 67.84 kB / 0.5157 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.4408, allocations: 176.6 kB / 0.5158 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.4408, allocations: 12 kB / 0.5158 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004023/0.4412, allocations: 0.568 MB / 0.5164 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4412, allocations: 3.938 kB / 0.5164 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.4423, allocations: 0.7345 MB / 0.5171 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.846e-05/0.4424, allocations: 116.8 kB / 0.5172 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.4424, allocations: 12 kB / 0.5172 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.4426, allocations: 4 kB / 0.5172 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.4427, allocations: 23.91 kB / 0.5173 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.4427, allocations: 15.98 kB / 0.5173 GB, free: 1.871 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.4429, allocations: 222 kB / 0.5175 GB, free: 1.652 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4429, allocations: 0 / 0.5175 GB, free: 1.652 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004213/0.4471, allocations: 0.7597 MB / 0.5182 GB, free: 0.8906 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.02362/0.4708, allocations: 6.41 MB / 0.5245 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.4719, allocations: 466.3 kB / 0.5249 GB, free: 9.992 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4719, allocations: 0 / 0.5249 GB, free: 9.992 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000416/0.4723, allocations: 216 kB / 0.5251 GB, free: 9.777 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.4734, allocations: 184.6 kB / 0.5253 GB, free: 9.598 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.4752, allocations: 0.914 MB / 0.5262 GB, free: 8.656 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.4757, allocations: 0.8012 MB / 0.527 GB, free: 7.824 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004149/0.4761, allocations: 194.9 kB / 0.5272 GB, free: 7.633 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.352e-05/0.4762, allocations: 35.42 kB / 0.5272 GB, free: 7.602 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4762, allocations: 4 kB / 0.5272 GB, free: 7.598 MB / 446.1 MB Notification: Performance of Templates: time 0.2318/0.708, allocations: 29.3 MB / 0.5558 GB, free: 86.66 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.947196980938315]