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.001816/0.001816, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.002167/0.002167, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.472/1.472, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.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.002915/0.002915, allocations: 65.72 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1365, allocations: 53.38 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.05232/0.1888, allocations: 34.81 MB / 413.7 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05103/0.2398, allocations: 27.19 MB / 440.9 MB, free: 1.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006309/0.2405, allocations: 11.94 kB / 440.9 MB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.242, allocations: 369.9 kB / 441.3 MB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.2439, allocations: 0.54 MB / 441.8 MB, free: 344 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02068/0.2646, allocations: 5.249 MB / 447.1 MB, free: 11.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002831/0.2674, allocations: 1.375 MB / 448.5 MB, free: 9.691 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003739/0.2678, allocations: 119 kB / 448.6 MB, free: 9.566 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.2692, allocations: 0.5528 MB / 449.1 MB, free: 9.012 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009416/0.2701, allocations: 434.2 kB / 449.5 MB, free: 8.586 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.2702, allocations: 52 kB / 449.6 MB, free: 8.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03156/0.3018, allocations: 12.44 MB / 462 MB, free: 12.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.3021, allocations: 159.4 kB / 462.2 MB, free: 11.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004715/0.3026, allocations: 271.1 kB / 462.5 MB, free: 11.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2398/0.5424, allocations: 14.94 MB / 477.4 MB, free: 18.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5424, allocations: 0 / 477.4 MB, free: 18.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5424, allocations: 1.281 kB / 477.4 MB, free: 18.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.5425, allocations: 0 / 477.4 MB, free: 18.82 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.009169/0.5516, allocations: 1.396 MB / 478.8 MB, free: 18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.5517, allocations: 13.91 kB / 478.8 MB, free: 17.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008648/0.5525, allocations: 101.1 kB / 478.9 MB, free: 17.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005817/0.5531, allocations: 320.4 kB / 479.2 MB, free: 17.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.5531, allocations: 38.84 kB / 479.3 MB, free: 17.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/0.5532, allocations: 44.53 kB / 479.3 MB, free: 17.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.5544, allocations: 0.8216 MB / 480.1 MB, free: 17.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.5545, allocations: 8.734 kB / 480.1 MB, free: 17.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.5545, allocations: 18.94 kB / 480.1 MB, free: 17.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.5545, allocations: 14.78 kB / 480.2 MB, free: 17.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.5555, allocations: 0.524 MB / 480.7 MB, free: 17.42 MB / 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.003605/0.5592, allocations: 2.736 MB / 483.4 MB, free: 16.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009057/0.5601, allocations: 393.7 kB / 483.8 MB, free: 16.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.5603, allocations: 194.2 kB / 484 MB, free: 16.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002062/0.5624, allocations: 0.6171 MB / 484.6 MB, free: 16.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.5624, allocations: 39.56 kB / 484.6 MB, free: 16.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 2.715e-06/0.5624, allocations: 0 / 484.6 MB, free: 16.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=54): time 0.009949/0.5724, allocations: 1.897 MB / 486.5 MB, free: 15.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.5724, allocations: 57.41 kB / 486.6 MB, free: 15.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.5727, allocations: 280.3 kB / 486.9 MB, free: 15.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.5728, allocations: 35.39 kB / 486.9 MB, free: 15.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.5729, allocations: 239.5 kB / 487.1 MB, free: 15.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.573, allocations: 201.5 kB / 487.3 MB, free: 15.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.5731, allocations: 120.4 kB / 487.5 MB, free: 15.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.5732, allocations: 348.1 kB / 487.8 MB, free: 14.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.5735, allocations: 184.1 kB / 488 MB, free: 14.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.5738, allocations: 331.4 kB / 488.3 MB, free: 14.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007292/0.5746, allocations: 0.5519 MB / 488.9 MB, free: 14.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5746, allocations: 1.031 kB / 488.9 MB, free: 14.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001274/0.5759, allocations: 0.6751 MB / 489.5 MB, free: 14.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.5759, allocations: 6.281 kB / 489.5 MB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.5759, allocations: 4.344 kB / 489.5 MB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01184/0.5877, allocations: 470.4 kB / 490 MB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/0.5884, allocations: 142.9 kB / 490.1 MB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.5901, allocations: 2.965 MB / 493.1 MB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.5906, allocations: 17.16 kB / 493.1 MB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.467e-05/0.5906, allocations: 32.52 kB / 493.2 MB, free: 11.7 MB / 430.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.0003381/0.5909, allocations: 192.4 kB / 493.3 MB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/0.5912, allocations: 42.98 kB / 493.4 MB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.5926, allocations: 1.079 MB / 494.5 MB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.5926, allocations: 11.02 kB / 494.5 MB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.5926, allocations: 2.625 kB / 494.5 MB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009647/0.5936, allocations: 1.109 MB / 495.6 MB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.5954, allocations: 1.588 MB / 497.2 MB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5954, allocations: 0.7812 kB / 497.2 MB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.5958, allocations: 102.8 kB / 497.3 MB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003051/0.5989, allocations: 354.7 kB / 497.6 MB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.5989, allocations: 18.36 kB / 497.6 MB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000427/0.5993, allocations: 1.155 MB / 498.8 MB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5993, allocations: 0 / 498.8 MB, free: 9.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.6006, allocations: 1.144 MB / 499.9 MB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.6007, allocations: 54.25 kB / 500 MB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/0.6008, allocations: 14.08 kB / 0.4883 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.601, allocations: 12.19 kB / 0.4883 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.6011, allocations: 42.55 kB / 0.4883 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/0.6011, allocations: 19.67 kB / 0.4884 GB, free: 9.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.6013, allocations: 226.8 kB / 0.4886 GB, free: 9.352 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6013, allocations: 0 / 0.4886 GB, free: 9.352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006491/0.6078, allocations: 0.9786 MB / 0.4895 GB, free: 9.195 MB / 430.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.0317/0.6395, allocations: 7.887 MB / 0.4972 GB, free: 5.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.641, allocations: 0.6922 MB / 0.4979 GB, free: 5.316 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.641, allocations: 0 / 0.4979 GB, free: 5.316 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.6415, allocations: 358.4 kB / 0.4982 GB, free: 5.309 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.6428, allocations: 234.2 kB / 0.4985 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.6446, allocations: 1.344 MB / 0.4998 GB, free: 4.699 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.6448, allocations: 268 kB / 0.5 GB, free: 4.598 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004067/0.6452, allocations: 237 kB / 0.5003 GB, free: 4.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.654e-05/0.6453, allocations: 52.83 kB / 0.5003 GB, free: 4.555 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6453, allocations: 5.094 kB / 0.5003 GB, free: 4.551 MB / 430.1 MB Notification: Performance of Templates: time 0.04894/0.6943, allocations: 35.54 MB / 0.535 GB, free: 9.938 MB / 462.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 -s ida -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: 9.1320869110059]