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.001317/0.001317, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001569/0.001569, allocations: 164.9 kB / 24.82 MB, free: 9.277 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.9412/0.9412, allocations: 177 MB / 205.1 MB, free: 5.48 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.603e-06/1.603e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.195e-05, allocations: 5.266 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01907/0.0191, allocations: 10.7 MB / 284 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1143/0.1334, allocations: 9.065 MB / 293.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.1336, allocations: 7 kB / 293.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000435/0.134, allocations: 142.4 kB / 293.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005726/0.1346, allocations: 403.9 kB / 293.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0041/0.1387, allocations: 1.902 MB / 295.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.1398, allocations: 0.9904 MB / 296.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.14, allocations: 78.8 kB / 296.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006803/0.1406, allocations: 0.492 MB / 297.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004003/0.141, allocations: 277.6 kB / 297.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.54e-05/0.1411, allocations: 37.16 kB / 297.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00778/0.1489, allocations: 5.335 MB / 302.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.1491, allocations: 116 kB / 302.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.1494, allocations: 168.9 kB / 303 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007936/0.1574, allocations: 4.918 MB / 307.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1574, allocations: 0 / 307.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1574, allocations: 0 / 307.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1574, allocations: 1.312 kB / 307.9 MB, free: 11.98 MB / 266.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.001953/0.1593, allocations: 0.8682 MB / 308.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1594, allocations: 13.33 kB / 308.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.1597, allocations: 135.1 kB / 308.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.1599, allocations: 258.6 kB / 309.2 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1599, allocations: 28.66 kB / 309.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.16, allocations: 37.25 kB / 309.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.1603, allocations: 0.5166 MB / 309.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1603, allocations: 0 / 309.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.1604, allocations: 16 kB / 309.8 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1604, allocations: 13.28 kB / 309.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.1606, allocations: 215.5 kB / 310 MB, free: 9.816 MB / 266.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.001442/0.162, allocations: 2.524 MB / 312.5 MB, free: 7.277 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.1623, allocations: 196.5 kB / 312.7 MB, free: 7.086 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/0.1624, allocations: 71.94 kB / 312.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/0.1626, allocations: 166.3 kB / 313 MB, free: 6.871 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.1626, allocations: 40.67 kB / 313 MB, free: 6.824 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.1626, allocations: 0 / 313 MB, free: 6.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.002457/0.1651, allocations: 0.9232 MB / 313.9 MB, free: 5.875 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.346e-05/0.1651, allocations: 55.41 kB / 314 MB, free: 5.809 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.1652, allocations: 283.1 kB / 314.3 MB, free: 5.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.1652, allocations: 29.7 kB / 314.3 MB, free: 5.508 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.1653, allocations: 242.9 kB / 314.5 MB, free: 5.273 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.1653, allocations: 121.6 kB / 314.6 MB, free: 5.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.1654, allocations: 92.86 kB / 314.7 MB, free: 5.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.1654, allocations: 0.5132 MB / 315.2 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.082e-05/0.1655, allocations: 48.95 kB / 315.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.855e-05/0.1655, allocations: 217.5 kB / 315.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.1657, allocations: 301.9 kB / 315.8 MB, free: 3.918 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1657, allocations: 4 kB / 315.8 MB, free: 3.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003977/0.1661, allocations: 377.6 kB / 316.2 MB, free: 3.562 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1661, allocations: 11.12 kB / 316.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1661, allocations: 4.812 kB / 316.2 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002667/0.1688, allocations: 248.7 kB / 316.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.169, allocations: 86.44 kB / 316.5 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.1795, allocations: 9.136 MB / 325.7 MB, free: 9.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.1796, allocations: 11.94 kB / 325.7 MB, free: 9.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.1796, allocations: 20.8 kB / 325.7 MB, free: 9.633 MB / 282.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 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.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.0001219/0.1798, allocations: 184.9 kB / 325.9 MB, free: 9.445 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.907e-05/0.1799, allocations: 52.47 kB / 325.9 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.1803, allocations: 470.5 kB / 326.4 MB, free: 8.922 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1803, allocations: 11.98 kB / 326.4 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1803, allocations: 0.7812 kB / 326.4 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003881/0.1807, allocations: 0.6298 MB / 327 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007387/0.1815, allocations: 0.7993 MB / 327.8 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1815, allocations: 0 / 327.8 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.1816, allocations: 64.69 kB / 327.9 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006894/0.1823, allocations: 186.5 kB / 328.1 MB, free: 7.141 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1823, allocations: 15.98 kB / 328.1 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008715/0.1832, allocations: 1.751 MB / 329.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1832, allocations: 3.984 kB / 329.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.1837, allocations: 0.5503 MB / 330.4 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.1837, allocations: 36.52 kB / 330.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1837, allocations: 7.984 kB / 330.4 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.1838, allocations: 8.781 kB / 330.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.1839, allocations: 27.94 kB / 330.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.1839, allocations: 16.81 kB / 330.5 MB, free: 4.613 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.394e-05/0.184, allocations: 211.3 kB / 330.7 MB, free: 4.414 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.184, allocations: 0.8125 kB / 330.7 MB, free: 4.414 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00167/0.1856, allocations: 379.1 kB / 331.1 MB, free: 4.043 MB / 282.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 ($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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007866/0.1935, allocations: 3.484 MB / 334.5 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005244/0.194, allocations: 404.8 kB / 334.9 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.194, allocations: 0.875 kB / 334.9 MB, free: 220 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.1943, allocations: 301.3 kB / 335.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006817/0.1949, allocations: 164.9 kB / 335.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.1962, allocations: 0.7677 MB / 336.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.919e-05/0.1962, allocations: 115 kB / 336.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002263/0.1965, allocations: 162.7 kB / 336.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.1967, allocations: 210.1 kB / 336.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1967, allocations: 0 / 336.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of Templates: time 0.02234/0.2191, allocations: 21.97 MB / 358.6 MB, free: 8.617 MB / 314.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: 3.9668125342577696]