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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001709/0.001709, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00178/0.00178, allocations: 212.2 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.2 MB / 256.8 MB, free: 8.625 MB / 206.1 MB [Timeout remaining time 88] 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.001906/0.001906, allocations: 67.89 kB / 376.9 MB, free: 3.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2947, allocations: 53.32 MB / 430.2 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03256/0.3273, allocations: 26.84 MB / 457 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0306/0.3579, allocations: 24.99 MB / 482 MB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004957/0.3584, allocations: 7.938 kB / 482 MB, free: 3.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.3595, allocations: 302.4 kB / 482.3 MB, free: 3.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.3606, allocations: 381.9 kB / 482.7 MB, free: 2.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01415/0.3748, allocations: 4.101 MB / 486.8 MB, free: 14.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.3764, allocations: 0.9581 MB / 487.8 MB, free: 13.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.3766, allocations: 81.05 kB / 487.8 MB, free: 13.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008225/0.3774, allocations: 390.6 kB / 488.2 MB, free: 13.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.3779, allocations: 322.7 kB / 488.5 MB, free: 13.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.577e-05/0.378, allocations: 36 kB / 488.6 MB, free: 13.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02135/0.3993, allocations: 10.49 MB / 499.1 MB, free: 2.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.3996, allocations: 107.6 kB / 499.2 MB, free: 2.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004292/0.4, allocations: 231.1 kB / 499.4 MB, free: 2.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03542/0.4354, allocations: 11.5 MB / 0.4989 GB, free: 6.715 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4354, allocations: 0 / 0.4989 GB, free: 6.715 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4354, allocations: 3.938 kB / 0.4989 GB, free: 6.711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.4355, allocations: 0 / 0.4989 GB, free: 6.711 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.007014/0.4425, allocations: 1.18 MB / 0.5001 GB, free: 5.473 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4425, allocations: 12.03 kB / 0.5001 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006886/0.4432, allocations: 71.67 kB / 0.5002 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/0.4438, allocations: 326.4 kB / 0.5005 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.4438, allocations: 24.66 kB / 0.5005 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.45e-05/0.4439, allocations: 32 kB / 0.5005 GB, free: 4.977 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.4449, allocations: 467.7 kB / 0.501 GB, free: 4.488 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.4449, allocations: 3.953 kB / 0.501 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.445, allocations: 16 kB / 0.501 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.445, allocations: 8 kB / 0.501 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000789/0.4458, allocations: 386.3 kB / 0.5014 GB, free: 4.082 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.004043/0.4498, allocations: 2.949 MB / 0.5043 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007478/0.4506, allocations: 282.7 kB / 0.5045 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.4508, allocations: 128.8 kB / 0.5046 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002797/0.4536, allocations: 2.466 MB / 0.5071 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.4537, allocations: 38.56 kB / 0.5071 GB, free: 13.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 3.046e-06/0.4537, allocations: 0 / 0.5071 GB, free: 13.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.006075/0.4597, allocations: 1.31 MB / 0.5084 GB, free: 12.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.4598, allocations: 55.41 kB / 0.5084 GB, free: 12.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.4601, allocations: 262.5 kB / 0.5087 GB, free: 11.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.4602, allocations: 33.69 kB / 0.5087 GB, free: 11.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.4603, allocations: 192.4 kB / 0.5089 GB, free: 11.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.4604, allocations: 130.9 kB / 0.509 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.4606, allocations: 82.08 kB / 0.5091 GB, free: 11.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4608, allocations: 342.8 kB / 0.5094 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.461, allocations: 112.8 kB / 0.5095 GB, free: 10.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.4613, allocations: 226.1 kB / 0.5097 GB, free: 10.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005614/0.4619, allocations: 373.5 kB / 0.5101 GB, free: 10.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4619, allocations: 0 / 0.5101 GB, free: 10.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001017/0.4629, allocations: 462.9 kB / 0.5105 GB, free: 9.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.4629, allocations: 11.94 kB / 0.5105 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4629, allocations: 3.938 kB / 0.5106 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006399/0.4693, allocations: 249.4 kB / 0.5108 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.4697, allocations: 87.89 kB / 0.5109 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.4716, allocations: 1.943 MB / 0.5128 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.4719, allocations: 8 kB / 0.5128 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.472, allocations: 20 kB / 0.5128 GB, free: 7.215 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.0002607/0.4722, allocations: 165.7 kB / 0.513 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.4724, allocations: 35.75 kB / 0.513 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.4736, allocations: 0.6855 MB / 0.5137 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.4736, allocations: 4 kB / 0.5137 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.4736, allocations: 0 / 0.5137 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001013/0.4746, allocations: 0.871 MB / 0.5145 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.4763, allocations: 1.187 MB / 0.5157 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.4763, allocations: 8 kB / 0.5157 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.4765, allocations: 63.91 kB / 0.5157 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/0.4782, allocations: 172.6 kB / 0.5159 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.4782, allocations: 8 kB / 0.5159 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004246/0.4787, allocations: 0.5835 MB / 0.5165 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4787, allocations: 3.938 kB / 0.5165 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.4798, allocations: 0.7305 MB / 0.5172 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.4799, allocations: 108.8 kB / 0.5173 GB, free: 2.367 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/0.4799, allocations: 12 kB / 0.5173 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.4801, allocations: 8 kB / 0.5173 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.4802, allocations: 32 kB / 0.5174 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.4802, allocations: 15.98 kB / 0.5174 GB, free: 2.301 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002709/0.4805, allocations: 221.9 kB / 0.5176 GB, free: 2.082 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4805, allocations: 0 / 0.5176 GB, free: 2.082 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005309/0.4858, allocations: 0.7519 MB / 0.5183 GB, free: 1.328 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.02552/0.5113, allocations: 6.41 MB / 0.5246 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.5124, allocations: 465.5 kB / 0.525 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5124, allocations: 0 / 0.525 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.5128, allocations: 216 kB / 0.5252 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.5139, allocations: 185.3 kB / 0.5254 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.5155, allocations: 0.944 MB / 0.5263 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.516, allocations: 0.8051 MB / 0.5271 GB, free: 8.223 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.5161, allocations: 39.44 kB / 0.5271 GB, free: 8.188 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5161, allocations: 0 / 0.5271 GB, free: 8.188 MB / 446.1 MB Notification: Performance of Templates: time 0.2533/0.7693, allocations: 29.39 MB / 0.5558 GB, free: 86.68 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/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