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.001345/0.001345, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.001958/0.001958, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.457/1.457, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.001908/0.001908, allocations: 63.88 kB / 373.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09954/0.1014, allocations: 53.32 MB / 427.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.2201/0.3216, allocations: 26.84 MB / 454 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03061/0.3522, allocations: 25 MB / 479 MB, free: 8.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000499/0.3527, allocations: 4.75 kB / 479 MB, free: 8.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009811/0.3536, allocations: 313.4 kB / 479.3 MB, free: 8.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009049/0.3545, allocations: 382.7 kB / 479.7 MB, free: 8.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01269/0.3672, allocations: 4.084 MB / 483.8 MB, free: 5.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.3687, allocations: 0.9491 MB / 484.7 MB, free: 4.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/0.369, allocations: 84.16 kB / 484.8 MB, free: 4.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000732/0.3697, allocations: 388.4 kB / 485.2 MB, free: 4.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005773/0.3703, allocations: 322.3 kB / 485.5 MB, free: 4.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.634e-05/0.3703, allocations: 37.56 kB / 485.5 MB, free: 4.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02262/0.393, allocations: 10.5 MB / 496 MB, free: 11.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003222/0.3933, allocations: 111.6 kB / 496.1 MB, free: 11.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005499/0.3938, allocations: 219.2 kB / 496.3 MB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0328/0.4266, allocations: 11.51 MB / 0.4959 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4266, allocations: 0 / 0.4959 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4266, allocations: 4 kB / 0.4959 GB, free: 136 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.4267, allocations: 0 / 0.4959 GB, free: 136 kB / 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.007438/0.4341, allocations: 1.173 MB / 0.4971 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4341, allocations: 12.03 kB / 0.4971 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006641/0.4348, allocations: 75.66 kB / 0.4972 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.4353, allocations: 326.4 kB / 0.4975 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.4354, allocations: 24.66 kB / 0.4975 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.4354, allocations: 32 kB / 0.4975 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009493/0.4364, allocations: 467.7 kB / 0.498 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.4364, allocations: 3.938 kB / 0.498 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.4364, allocations: 16 kB / 0.498 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.4364, allocations: 15.94 kB / 0.498 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007987/0.4372, allocations: 382.3 kB / 0.4984 GB, free: 13.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.003753/0.441, allocations: 2.949 MB / 0.5013 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007001/0.4417, allocations: 274.8 kB / 0.5015 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.4419, allocations: 137.4 kB / 0.5017 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002679/0.4446, allocations: 2.458 MB / 0.5041 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.4446, allocations: 38.5 kB / 0.5041 GB, free: 6.906 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.4446, allocations: 0 / 0.5041 GB, free: 6.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.006109/0.4507, allocations: 1.309 MB / 0.5054 GB, free: 5.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.4508, allocations: 55.41 kB / 0.5054 GB, free: 5.457 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.4511, allocations: 262.5 kB / 0.5057 GB, free: 5.191 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.4512, allocations: 29.7 kB / 0.5057 GB, free: 5.156 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.4513, allocations: 192.4 kB / 0.5059 GB, free: 4.965 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.4514, allocations: 130.9 kB / 0.506 GB, free: 4.836 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.4515, allocations: 82.08 kB / 0.5061 GB, free: 4.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4517, allocations: 338.8 kB / 0.5064 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.4519, allocations: 120.8 kB / 0.5065 GB, free: 4.293 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.4522, allocations: 230 kB / 0.5068 GB, free: 4.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/0.4528, allocations: 370.1 kB / 0.5071 GB, free: 3.609 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4528, allocations: 0 / 0.5071 GB, free: 3.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009932/0.4538, allocations: 467.4 kB / 0.5076 GB, free: 3.141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4539, allocations: 11.94 kB / 0.5076 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4539, allocations: 4.438 kB / 0.5076 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006293/0.4602, allocations: 245.4 kB / 0.5078 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.4606, allocations: 93.77 kB / 0.5079 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.4623, allocations: 1.933 MB / 0.5098 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.4626, allocations: 8 kB / 0.5098 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.4626, allocations: 28.17 kB / 0.5098 GB, free: 0.6562 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.0002321/0.4628, allocations: 165.7 kB / 0.51 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.463, allocations: 31.81 kB / 0.51 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.4642, allocations: 0.6869 MB / 0.5107 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.4642, allocations: 7.984 kB / 0.5107 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.4642, allocations: 0 / 0.5107 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009799/0.4652, allocations: 0.871 MB / 0.5115 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.4668, allocations: 1.188 MB / 0.5127 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4668, allocations: 0 / 0.5127 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.4671, allocations: 63.91 kB / 0.5128 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.4686, allocations: 176.6 kB / 0.5129 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.4686, allocations: 12 kB / 0.5129 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004063/0.469, allocations: 0.5641 MB / 0.5135 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.469, allocations: 0 / 0.5135 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.4701, allocations: 0.746 MB / 0.5142 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.4702, allocations: 116.2 kB / 0.5143 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.4703, allocations: 12 kB / 0.5143 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.4705, allocations: 8 kB / 0.5143 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.4705, allocations: 27.84 kB / 0.5144 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.4705, allocations: 12.88 kB / 0.5144 GB, free: 11.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.4708, allocations: 221.9 kB / 0.5146 GB, free: 11.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4708, allocations: 0 / 0.5146 GB, free: 11.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004261/0.4751, allocations: 0.7598 MB / 0.5153 GB, free: 10.76 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.02558/0.5006, allocations: 6.412 MB / 0.5216 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.5018, allocations: 458.3 kB / 0.522 GB, free: 3.883 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5018, allocations: 0 / 0.522 GB, free: 3.883 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004239/0.5022, allocations: 219.9 kB / 0.5222 GB, free: 3.664 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.5034, allocations: 177.8 kB / 0.5224 GB, free: 3.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.5051, allocations: 0.9102 MB / 0.5233 GB, free: 2.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.5055, allocations: 0.8051 MB / 0.5241 GB, free: 1.734 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004075/0.5059, allocations: 194.9 kB / 0.5243 GB, free: 1.539 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.506, allocations: 43.42 kB / 0.5243 GB, free: 1.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.333e-06/0.5061, allocations: 0 / 0.5243 GB, free: 1.5 MB / 430.1 MB Notification: Performance of Templates: time 0.04356/0.5496, allocations: 29.15 MB / 0.5528 GB, free: 4.344 MB / 462.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.791913315653801]