Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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.001367/0.001367, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001506/0.001506, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.466/1.466, allocations: 230.5 MB / 258.1 MB, free: 7.781 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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 55.91 kB / 379 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2809, allocations: 53.41 MB / 432.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04019/0.3211, allocations: 34.79 MB / 467.2 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03486/0.356, allocations: 27.18 MB / 494.4 MB, free: 8.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006227/0.3566, allocations: 15.88 kB / 494.4 MB, free: 8.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.3579, allocations: 373.9 kB / 494.8 MB, free: 7.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.3594, allocations: 0.5283 MB / 495.3 MB, free: 7.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01591/0.3753, allocations: 5.263 MB / 0.4888 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002018/0.3773, allocations: 1.379 MB / 0.4902 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.3776, allocations: 115 kB / 0.4903 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.3788, allocations: 0.5488 MB / 0.4908 GB, free: 68 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009811/0.3798, allocations: 438.2 kB / 0.4912 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.38, allocations: 56 kB / 0.4913 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02711/0.4071, allocations: 12.43 MB / 0.5034 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003798/0.4075, allocations: 159.4 kB / 0.5036 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006338/0.4081, allocations: 275 kB / 0.5038 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.048/0.4561, allocations: 14.95 MB / 0.5184 GB, free: 3.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4561, allocations: 0 / 0.5184 GB, free: 3.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4561, allocations: 4 kB / 0.5184 GB, free: 3.727 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.4562, allocations: 0 / 0.5184 GB, free: 3.727 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.008587/0.4647, allocations: 1.396 MB / 0.5198 GB, free: 2.293 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.4648, allocations: 11.98 kB / 0.5198 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009026/0.4657, allocations: 99.56 kB / 0.5199 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007651/0.4665, allocations: 332.2 kB / 0.5202 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.4665, allocations: 33 kB / 0.5203 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.4666, allocations: 48 kB / 0.5203 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.4681, allocations: 0.8252 MB / 0.5211 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.4681, allocations: 3.953 kB / 0.5211 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.375e-05/0.4681, allocations: 24 kB / 0.5211 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.4682, allocations: 12 kB / 0.5211 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.4693, allocations: 0.5307 MB / 0.5217 GB, free: 272 kB / 430.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.004342/0.4736, allocations: 2.716 MB / 0.5243 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.4746, allocations: 399.3 kB / 0.5247 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.475, allocations: 197.4 kB / 0.5249 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002068/0.477, allocations: 0.6207 MB / 0.5255 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.4771, allocations: 38.94 kB / 0.5255 GB, free: 12.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 2.785e-06/0.4771, allocations: 0 / 0.5255 GB, free: 12.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=54): time 0.01024/0.4873, allocations: 1.894 MB / 0.5274 GB, free: 10.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.4874, allocations: 59.84 kB / 0.5274 GB, free: 10.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.4877, allocations: 285.7 kB / 0.5277 GB, free: 9.918 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.4878, allocations: 37.7 kB / 0.5277 GB, free: 9.875 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.488, allocations: 245 kB / 0.528 GB, free: 9.633 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.4881, allocations: 194.3 kB / 0.5282 GB, free: 9.441 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.4883, allocations: 118.3 kB / 0.5283 GB, free: 9.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4885, allocations: 346.8 kB / 0.5286 GB, free: 8.973 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.4888, allocations: 185.2 kB / 0.5288 GB, free: 8.793 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/0.4893, allocations: 332 kB / 0.5291 GB, free: 8.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008827/0.4902, allocations: 0.5485 MB / 0.5296 GB, free: 7.797 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4902, allocations: 0 / 0.5296 GB, free: 7.797 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001527/0.4917, allocations: 0.666 MB / 0.5303 GB, free: 7.113 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.4917, allocations: 8 kB / 0.5303 GB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.4917, allocations: 4 kB / 0.5303 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01138/0.5031, allocations: 482.4 kB / 0.5308 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000676/0.5038, allocations: 139.8 kB / 0.5309 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.5064, allocations: 2.955 MB / 0.5338 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.5067, allocations: 20.09 kB / 0.5338 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/0.5068, allocations: 31.98 kB / 0.5338 GB, free: 3.305 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003187/0.5071, allocations: 189.6 kB / 0.534 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.5074, allocations: 39.77 kB / 0.534 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.5091, allocations: 1.078 MB / 0.5351 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.5091, allocations: 15.98 kB / 0.5351 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5091, allocations: 0 / 0.5351 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001415/0.5106, allocations: 1.11 MB / 0.5362 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2398/0.7503, allocations: 1.588 MB / 0.5377 GB, free: 97.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.7504, allocations: 1.281 kB / 0.5377 GB, free: 97.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.7508, allocations: 102.3 kB / 0.5378 GB, free: 97.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002994/0.7538, allocations: 357.8 kB / 0.5382 GB, free: 97.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.135e-05/0.7538, allocations: 14.09 kB / 0.5382 GB, free: 97.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004951/0.7543, allocations: 1.153 MB / 0.5393 GB, free: 96.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7543, allocations: 1.344 kB / 0.5393 GB, free: 96.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.7558, allocations: 1.144 MB / 0.5404 GB, free: 95.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.7559, allocations: 52.83 kB / 0.5405 GB, free: 95.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.756, allocations: 15.97 kB / 0.5405 GB, free: 95.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.7562, allocations: 11.17 kB / 0.5405 GB, free: 95.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.7563, allocations: 37.39 kB / 0.5406 GB, free: 95.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.7563, allocations: 21.02 kB / 0.5406 GB, free: 95.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.7566, allocations: 229.1 kB / 0.5408 GB, free: 95.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7566, allocations: 2.625 kB / 0.5408 GB, free: 95.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005654/0.7622, allocations: 0.9756 MB / 0.5417 GB, free: 95.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.02881/0.791, allocations: 7.891 MB / 0.5495 GB, free: 91.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.7925, allocations: 0.6866 MB / 0.5501 GB, free: 90.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7925, allocations: 0 / 0.5501 GB, free: 90.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.7931, allocations: 357.6 kB / 0.5505 GB, free: 90.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.7943, allocations: 228.6 kB / 0.5507 GB, free: 90.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.7962, allocations: 1.379 MB / 0.552 GB, free: 88.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.7964, allocations: 265.1 kB / 0.5523 GB, free: 88.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.7966, allocations: 62.17 kB / 0.5523 GB, free: 88.71 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.7966, allocations: 0 / 0.5523 GB, free: 88.71 MB / 446.1 MB Notification: Performance of Templates: time 0.03655/0.8331, allocations: 38.82 MB / 0.5902 GB, free: 51.01 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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: 12.00943289604038]