Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007187/0.0007187, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001742, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007015/0.0007015, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008802/0.001582, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9368/0.9368, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07548/1.012, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.102e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.009631/0.009652, allocations: 10.8 MB / 255.5 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006647/0.0163, allocations: 9.242 MB / 264.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.01642, allocations: 4 kB / 264.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.0167, allocations: 151 kB / 264.9 MB, free: 9.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.01711, allocations: 393.6 kB / 265.3 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.01973, allocations: 1.816 MB / 267.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006519/0.02039, allocations: 0.9969 MB / 268.1 MB, free: 6.723 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.02052, allocations: 85.2 kB / 268.2 MB, free: 6.637 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004674/0.02099, allocations: 0.5148 MB / 268.7 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.02124, allocations: 255.2 kB / 269 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.02128, allocations: 36 kB / 269 MB, free: 5.836 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005039/0.02632, allocations: 5.45 MB / 274.4 MB, free: 384 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.299e-05/0.02641, allocations: 91.72 kB / 274.5 MB, free: 292 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.02652, allocations: 143.8 kB / 274.7 MB, free: 148 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1058/0.1323, allocations: 4.704 MB / 279.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.1323, allocations: 2.562 kB / 279.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1323, allocations: 0 / 279.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.1324, allocations: 0 / 279.4 MB, free: 5.855 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.004843/0.1372, allocations: 1.456 MB / 280.8 MB, free: 5.398 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.1372, allocations: 8.875 kB / 280.8 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004482/0.1377, allocations: 223.4 kB / 281.1 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1379, allocations: 218.8 kB / 281.3 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.138, allocations: 22.55 kB / 281.3 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.138, allocations: 35.19 kB / 281.3 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.1385, allocations: 0.4984 MB / 281.8 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1385, allocations: 5.188 kB / 281.8 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.1385, allocations: 14.97 kB / 281.8 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1385, allocations: 10.08 kB / 281.9 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.1388, allocations: 200.1 kB / 282.1 MB, free: 4.801 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.00172/0.1405, allocations: 1.929 MB / 284 MB, free: 19.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.1408, allocations: 175.8 kB / 284.2 MB, free: 19.81 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.663e-05/0.1409, allocations: 59.77 kB / 284.2 MB, free: 19.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002479/0.1411, allocations: 153 kB / 284.4 MB, free: 19.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.1412, allocations: 34.91 kB / 284.4 MB, free: 19.76 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/0.1412, allocations: 3.344 kB / 284.4 MB, free: 19.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.003248/0.1444, allocations: 0.9761 MB / 285.4 MB, free: 19.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.1444, allocations: 54.81 kB / 285.4 MB, free: 19.46 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.1445, allocations: 217.4 kB / 285.6 MB, free: 19.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1446, allocations: 32.86 kB / 285.7 MB, free: 19.31 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.1446, allocations: 184.6 kB / 285.9 MB, free: 19.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.1446, allocations: 130.5 kB / 286 MB, free: 19.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.1447, allocations: 83.52 kB / 286.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.1448, allocations: 334.9 kB / 286.4 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/0.1448, allocations: 42.89 kB / 286.4 MB, free: 18.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.1449, allocations: 165.9 kB / 286.6 MB, free: 18.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.1451, allocations: 256.6 kB / 286.8 MB, free: 18.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1451, allocations: 1.719 kB / 286.8 MB, free: 18.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003239/0.1454, allocations: 288.4 kB / 287.1 MB, free: 18.44 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1454, allocations: 8.406 kB / 287.1 MB, free: 18.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1454, allocations: 3.438 kB / 287.1 MB, free: 18.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002704/0.1481, allocations: 232.5 kB / 287.4 MB, free: 18.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.1483, allocations: 105.8 kB / 287.5 MB, free: 18.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006872/0.149, allocations: 1.698 MB / 289.2 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.353e-05/0.1491, allocations: 7.531 kB / 289.2 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.1491, allocations: 17.61 kB / 289.2 MB, free: 16.77 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 8.803e-05/0.1492, allocations: 142.9 kB / 289.3 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.1493, allocations: 38.89 kB / 289.4 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.1496, allocations: 442.5 kB / 289.8 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.1496, allocations: 13.22 kB / 289.8 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.1496, allocations: 0 / 289.8 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000239/0.1499, allocations: 0.5618 MB / 290.4 MB, free: 16.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.1504, allocations: 0.6534 MB / 291 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1504, allocations: 3.938 kB / 291 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.1506, allocations: 80.02 kB / 291.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.1506, allocations: 27.75 kB / 291.1 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005787/0.1512, allocations: 164.8 kB / 291.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1512, allocations: 9.203 kB / 291.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001723/0.1514, allocations: 0.5257 MB / 291.8 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1514, allocations: 0 / 291.8 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.1517, allocations: 477.5 kB / 292.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1517, allocations: 13.81 kB / 292.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.1518, allocations: 6.938 kB / 292.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.1518, allocations: 30.16 kB / 292.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.1518, allocations: 16.11 kB / 292.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.965e-05/0.1519, allocations: 82.45 kB / 292.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1519, allocations: 0 / 292.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002498/0.1544, allocations: 378.2 kB / 292.8 MB, free: 14.91 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 ($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.007348/0.1618, allocations: 3.492 MB / 296.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.1621, allocations: 326.5 kB / 296.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.1621, allocations: 7.031 kB / 296.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.1622, allocations: 151.5 kB / 296.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.1628, allocations: 0.7485 MB / 297.5 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004733/0.1675, allocations: 0.7816 MB / 298.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.483e-05/0.1676, allocations: 122.6 kB / 298.4 MB, free: 12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.1678, allocations: 167.6 kB / 298.6 MB, free: 11.99 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.168, allocations: 166.4 kB / 298.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.168, allocations: 0 / 298.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of Templates: time 0.01954/0.1875, allocations: 21.74 MB / 320.5 MB, free: 9.055 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.845738912001252]