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.001363/0.001363, allocations: 119.1 kB / 20.45 MB, free: 1.176 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: 204.6 kB / 23.72 MB, free: 4.391 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.505/1.505, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.002007/0.002007, allocations: 59.91 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2627, allocations: 53.39 MB / 431.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03202/0.2947, allocations: 24.72 MB / 456.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02805/0.3228, allocations: 22.09 MB / 478.4 MB, free: 7.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004115/0.3232, allocations: 7.938 kB / 478.4 MB, free: 7.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009386/0.3241, allocations: 278.4 kB / 478.7 MB, free: 7.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008571/0.325, allocations: 381.9 kB / 479.1 MB, free: 6.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.3364, allocations: 4.113 MB / 483.2 MB, free: 2.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.3378, allocations: 0.9465 MB / 484.2 MB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.338, allocations: 77.23 kB / 484.2 MB, free: 1.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006328/0.3386, allocations: 402.5 kB / 484.6 MB, free: 1.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.339, allocations: 294.8 kB / 484.9 MB, free: 1.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.375e-05/0.3391, allocations: 36 kB / 484.9 MB, free: 1.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02028/0.3594, allocations: 10.15 MB / 495.1 MB, free: 6.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.3596, allocations: 107.7 kB / 495.2 MB, free: 6.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004035/0.36, allocations: 195.2 kB / 495.4 MB, free: 6.578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03497/0.395, allocations: 11.51 MB / 0.495 GB, free: 11.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.395, allocations: 0 / 0.495 GB, free: 11.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.395, allocations: 4 kB / 0.495 GB, free: 11.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.395, allocations: 0 / 0.495 GB, free: 11.05 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.006694/0.4017, allocations: 1.113 MB / 0.4961 GB, free: 9.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4018, allocations: 11.98 kB / 0.4961 GB, free: 9.895 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006765/0.4024, allocations: 67.73 kB / 0.4962 GB, free: 9.828 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.403, allocations: 264.6 kB / 0.4964 GB, free: 9.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.4031, allocations: 32.66 kB / 0.4965 GB, free: 9.508 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.4031, allocations: 32 kB / 0.4965 GB, free: 9.477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.4042, allocations: 0.6074 MB / 0.4971 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.4043, allocations: 3.953 kB / 0.4971 GB, free: 8.797 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.4043, allocations: 16 kB / 0.4971 GB, free: 8.781 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.4043, allocations: 8 kB / 0.4971 GB, free: 8.773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008374/0.4052, allocations: 386.3 kB / 0.4975 GB, free: 8.395 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.003846/0.409, allocations: 2.172 MB / 0.4996 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007415/0.4098, allocations: 277.8 kB / 0.4999 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.41, allocations: 128.7 kB / 0.5 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/0.4115, allocations: 467.4 kB / 0.5004 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.4116, allocations: 34.56 kB / 0.5005 GB, free: 5.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.813e-06/0.4116, allocations: 0 / 0.5005 GB, free: 5.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005747/0.4173, allocations: 1.159 MB / 0.5016 GB, free: 4.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.4174, allocations: 55.41 kB / 0.5017 GB, free: 3.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.4176, allocations: 236 kB / 0.5019 GB, free: 3.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.4177, allocations: 29.7 kB / 0.5019 GB, free: 3.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.4178, allocations: 192.3 kB / 0.5021 GB, free: 3.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.4179, allocations: 130.9 kB / 0.5022 GB, free: 3.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.4181, allocations: 82.12 kB / 0.5023 GB, free: 3.301 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4182, allocations: 334.8 kB / 0.5026 GB, free: 2.965 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.4185, allocations: 116.8 kB / 0.5027 GB, free: 2.852 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.4188, allocations: 226.1 kB / 0.5029 GB, free: 2.582 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/0.4194, allocations: 381.4 kB / 0.5033 GB, free: 2.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4194, allocations: 0 / 0.5033 GB, free: 2.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009852/0.4204, allocations: 455 kB / 0.5037 GB, free: 1.703 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.4204, allocations: 11.94 kB / 0.5038 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4204, allocations: 4 kB / 0.5038 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005859/0.4262, allocations: 245.4 kB / 0.504 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.4266, allocations: 91.83 kB / 0.5041 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.4283, allocations: 1.828 MB / 0.5059 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.4285, allocations: 8 kB / 0.5059 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.4285, allocations: 27.97 kB / 0.5059 GB, free: 15.36 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.0002357/0.4288, allocations: 165.1 kB / 0.5061 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.429, allocations: 27.81 kB / 0.5061 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.4301, allocations: 0.701 MB / 0.5068 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.4301, allocations: 11.94 kB / 0.5068 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.4301, allocations: 3.938 kB / 0.5068 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009541/0.4311, allocations: 0.8905 MB / 0.5076 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.4327, allocations: 1.07 MB / 0.5087 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4327, allocations: 0 / 0.5087 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.433, allocations: 63.91 kB / 0.5088 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.4345, allocations: 184.5 kB / 0.5089 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.4345, allocations: 4 kB / 0.5089 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004168/0.435, allocations: 0.5835 MB / 0.5095 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.435, allocations: 0 / 0.5095 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.4361, allocations: 0.7381 MB / 0.5102 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.4361, allocations: 35.78 kB / 0.5103 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.4362, allocations: 11.94 kB / 0.5103 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.4364, allocations: 8.156 kB / 0.5103 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.4364, allocations: 23.95 kB / 0.5103 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.4365, allocations: 23.92 kB / 0.5103 GB, free: 10.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002154/0.4367, allocations: 197.2 kB / 0.5105 GB, free: 10.43 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4367, allocations: 0 / 0.5105 GB, free: 10.43 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004551/0.4412, allocations: 0.7442 MB / 0.5112 GB, free: 9.688 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.02648/0.4677, allocations: 6.419 MB / 0.5175 GB, free: 3.246 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.4689, allocations: 470.8 kB / 0.518 GB, free: 2.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4689, allocations: 0 / 0.518 GB, free: 2.773 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004704/0.4694, allocations: 219.7 kB / 0.5182 GB, free: 2.555 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.4704, allocations: 157 kB / 0.5183 GB, free: 2.402 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.4722, allocations: 0.9038 MB / 0.5192 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.4725, allocations: 212.8 kB / 0.5194 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004236/0.4729, allocations: 188.1 kB / 0.5196 GB, free: 1.059 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.494e-05/0.473, allocations: 35.44 kB / 0.5196 GB, free: 1.027 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.473, allocations: 0 / 0.5196 GB, free: 1.027 MB / 430.1 MB Notification: Performance of Templates: time 0.223/0.696, allocations: 29.1 MB / 0.548 GB, free: 96.04 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: 8.161164458841085]