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.0009389/0.0009389, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 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.0009213/0.0009213, allocations: 157.5 kB / 24.99 MB, free: 9.289 MB / 18.57 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 0.9068/0.9068, allocations: 177 MB / 205.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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 1.382e-06/1.382e-06, allocations: 0 / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.576e-05, allocations: 5.266 kB / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.1442/0.1442, allocations: 27.38 MB / 300.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01653/0.1608, allocations: 24.94 MB / 325.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.161, allocations: 8.719 kB / 325.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006604/0.1617, allocations: 275.1 kB / 325.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006135/0.1623, allocations: 397.4 kB / 326 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007667/0.17, allocations: 4.184 MB / 330.2 MB, free: 8.227 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007033/0.1707, allocations: 0.95 MB / 331.1 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.1709, allocations: 85.02 kB / 331.2 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004728/0.1713, allocations: 0.5235 MB / 331.7 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.1716, allocations: 272.9 kB / 332 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.1716, allocations: 36 kB / 332 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01128/0.1829, allocations: 10.17 MB / 342.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.183, allocations: 111.6 kB / 342.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.1831, allocations: 177.3 kB / 342.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01771/0.2009, allocations: 11.8 MB / 354.3 MB, free: 72 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2009, allocations: 0 / 354.3 MB, free: 72 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2009, allocations: 0 / 354.3 MB, free: 72 kB / 298.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.2009, allocations: 4 kB / 354.3 MB, free: 68 kB / 298.7 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.003955/0.2048, allocations: 1.203 MB / 355.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2049, allocations: 11.98 kB / 355.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004761/0.2053, allocations: 137.5 kB / 355.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.2058, allocations: 275.4 kB / 355.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.2058, allocations: 22.38 kB / 355.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.2058, allocations: 36 kB / 356 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/0.2064, allocations: 0.5413 MB / 356.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2064, allocations: 0 / 356.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.2065, allocations: 17.62 kB / 356.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2065, allocations: 12.58 kB / 356.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.2069, allocations: 247.6 kB / 356.8 MB, free: 13.43 MB / 314.7 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.002311/0.2092, allocations: 2.598 MB / 359.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.2096, allocations: 215.8 kB / 359.6 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.2097, allocations: 84.64 kB / 359.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006146/0.2103, allocations: 403.6 kB / 360.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.2103, allocations: 39.2 kB / 360.1 MB, free: 10 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.2103, allocations: 4 kB / 360.1 MB, free: 10 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.003117/0.2134, allocations: 0.9988 MB / 361.1 MB, free: 8.957 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.2135, allocations: 55.41 kB / 361.1 MB, free: 8.891 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.2136, allocations: 286.4 kB / 361.4 MB, free: 8.594 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.2137, allocations: 33.7 kB / 361.5 MB, free: 8.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.2138, allocations: 239.1 kB / 361.7 MB, free: 8.316 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.2138, allocations: 127 kB / 361.8 MB, free: 8.191 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.25e-05/0.2139, allocations: 87.8 kB / 361.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.214, allocations: 0.5117 MB / 362.4 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.892e-05/0.2141, allocations: 64.97 kB / 362.5 MB, free: 7.512 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.2143, allocations: 231.9 kB / 362.7 MB, free: 7.223 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.2146, allocations: 323.5 kB / 363 MB, free: 6.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2146, allocations: 0 / 363 MB, free: 6.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005416/0.2152, allocations: 394.8 kB / 363.4 MB, free: 6.441 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2152, allocations: 8 kB / 363.4 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2152, allocations: 4 kB / 363.4 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002937/0.2181, allocations: 239.5 kB / 363.7 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.2183, allocations: 87.91 kB / 363.7 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.2197, allocations: 2.537 MB / 366.3 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.2199, allocations: 16 kB / 366.3 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.2199, allocations: 23.94 kB / 366.3 MB, free: 3.367 MB / 314.7 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.0001468/0.22, allocations: 185.2 kB / 366.5 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.2202, allocations: 55.61 kB / 366.5 MB, free: 3.121 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000799/0.221, allocations: 492.5 kB / 367 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.221, allocations: 4 kB / 367 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.221, allocations: 0 / 367 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000629/0.2216, allocations: 0.667 MB / 367.7 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008814/0.2225, allocations: 0.8543 MB / 368.6 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2225, allocations: 0 / 368.6 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.2227, allocations: 63.91 kB / 368.6 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007128/0.2234, allocations: 167.3 kB / 368.8 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.2234, allocations: 8 kB / 368.8 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002814/0.2237, allocations: 0.7999 MB / 369.6 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2237, allocations: 4.062 kB / 369.6 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/0.2242, allocations: 0.5744 MB / 370.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.2243, allocations: 35.67 kB / 370.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.2243, allocations: 11.94 kB / 370.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.2244, allocations: 8 kB / 370.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.2244, allocations: 23.95 kB / 370.2 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.2244, allocations: 12 kB / 370.3 MB, free: 15.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.2245, allocations: 217.1 kB / 370.5 MB, free: 15 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2245, allocations: 0 / 370.5 MB, free: 15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003181/0.2277, allocations: 0.752 MB / 371.2 MB, free: 14.24 MB / 330.7 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.01562/0.2433, allocations: 6.508 MB / 377.7 MB, free: 7.719 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005086/0.2439, allocations: 437.4 kB / 378.2 MB, free: 7.273 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2439, allocations: 0.875 kB / 378.2 MB, free: 7.273 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.244, allocations: 153 kB / 378.3 MB, free: 7.117 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.2446, allocations: 175.7 kB / 378.5 MB, free: 6.953 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.246, allocations: 0.7733 MB / 379.2 MB, free: 6.145 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.158e-05/0.246, allocations: 115 kB / 379.4 MB, free: 6.016 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002323/0.2463, allocations: 196.8 kB / 379.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.2463, allocations: 36.5 kB / 379.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.2463, allocations: 0 / 379.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of Templates: time 0.02583/0.2722, allocations: 28.92 MB / 408.5 MB, free: 8.961 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.623384820995852]