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.0009557/0.0009557, allocations: 80.11 kB / 9.934 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002325, allocations: 449.7 kB / 10.37 MB, free: 320 kB / 10.45 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.001008/0.001008, allocations: 165.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002296, allocations: 463.6 kB / 11.72 MB, free: 2.449 MB / 13.93 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.9406/0.9406, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07763/1.018, allocations: 53.85 MB / 243.7 MB, free: 14.91 MB / 250.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.633e-06/1.633e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.963e-05, allocations: 9.406 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01441/0.01443, allocations: 10.8 MB / 255.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007594/0.02202, allocations: 9.246 MB / 265.1 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.02226, allocations: 11.94 kB / 265.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.02261, allocations: 147.1 kB / 265.2 MB, free: 9.355 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005298/0.02314, allocations: 401.5 kB / 265.6 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00376/0.0269, allocations: 1.82 MB / 267.4 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009258/0.02783, allocations: 0.9891 MB / 268.4 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.028, allocations: 81.2 kB / 268.5 MB, free: 6.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006696/0.02867, allocations: 0.5187 MB / 269 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.02898, allocations: 267.2 kB / 269.3 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.02903, allocations: 36 kB / 269.3 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1152/0.1443, allocations: 5.429 MB / 274.7 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.1444, allocations: 91.48 kB / 274.8 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003464/0.1448, allocations: 145.4 kB / 275 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009967/0.1548, allocations: 4.718 MB / 279.7 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.847e-05/0.1548, allocations: 0.7969 kB / 279.7 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1548, allocations: 0 / 279.7 MB, free: 5.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.1548, allocations: 5 kB / 279.7 MB, free: 5.59 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.00775/0.1625, allocations: 1.46 MB / 281.2 MB, free: 5.133 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1626, allocations: 12.05 kB / 281.2 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005828/0.1632, allocations: 213.8 kB / 281.4 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.1635, allocations: 221.5 kB / 281.6 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.1635, allocations: 24.28 kB / 281.6 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.1636, allocations: 36.06 kB / 281.7 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006048/0.1642, allocations: 0.4977 MB / 282.2 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1642, allocations: 2.031 kB / 282.2 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.1642, allocations: 15.5 kB / 282.2 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1642, allocations: 8.25 kB / 282.2 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.1647, allocations: 203.3 kB / 282.4 MB, free: 4.535 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.002601/0.1673, allocations: 1.931 MB / 284.3 MB, free: 19.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.1676, allocations: 181.9 kB / 284.5 MB, free: 19.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.177e-05/0.1677, allocations: 59.89 kB / 284.5 MB, free: 19.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003669/0.1681, allocations: 146.7 kB / 284.7 MB, free: 19.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1681, allocations: 38.38 kB / 284.7 MB, free: 19.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.1681, allocations: 0 / 284.7 MB, free: 19.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.004298/0.1724, allocations: 0.8672 MB / 285.6 MB, free: 19.26 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.1725, allocations: 60.62 kB / 285.7 MB, free: 19.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1727, allocations: 213.5 kB / 285.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.1727, allocations: 31.52 kB / 285.9 MB, free: 19.05 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.1728, allocations: 183.5 kB / 286.1 MB, free: 18.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.487e-05/0.1728, allocations: 128 kB / 286.2 MB, free: 18.83 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/0.1729, allocations: 83.84 kB / 286.3 MB, free: 18.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.173, allocations: 336.8 kB / 286.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.1731, allocations: 41.47 kB / 286.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1732, allocations: 161.5 kB / 286.8 MB, free: 18.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.1735, allocations: 254.2 kB / 287.1 MB, free: 18.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1735, allocations: 3.5 kB / 287.1 MB, free: 18.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003685/0.1739, allocations: 288.2 kB / 287.3 MB, free: 18.17 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1739, allocations: 9.438 kB / 287.3 MB, free: 18.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1739, allocations: 5.406 kB / 287.4 MB, free: 18.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002393/0.1763, allocations: 225.1 kB / 287.6 MB, free: 18.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.1765, allocations: 105.8 kB / 287.7 MB, free: 18.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008632/0.1774, allocations: 1.693 MB / 289.4 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.1775, allocations: 11.81 kB / 289.4 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.1775, allocations: 16.89 kB / 289.4 MB, free: 16.5 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.0001037/0.1776, allocations: 135.4 kB / 289.5 MB, free: 16.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.146e-05/0.1777, allocations: 47.38 kB / 289.6 MB, free: 16.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.1781, allocations: 438.8 kB / 290 MB, free: 16.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.1781, allocations: 10.52 kB / 290 MB, free: 16.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.1781, allocations: 0.6094 kB / 290 MB, free: 16.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002514/0.1783, allocations: 0.5661 MB / 290.6 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005963/0.1789, allocations: 0.6518 MB / 291.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1789, allocations: 2.469 kB / 291.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.1791, allocations: 80.88 kB / 291.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.1791, allocations: 29.28 kB / 291.3 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005731/0.1797, allocations: 166.5 kB / 291.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1797, allocations: 10.45 kB / 291.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001894/0.1799, allocations: 0.5192 MB / 292 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1799, allocations: 3.75 kB / 292 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.1802, allocations: 481.1 kB / 292.5 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1802, allocations: 6.938 kB / 292.5 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.1803, allocations: 6.375 kB / 292.5 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.1804, allocations: 28.2 kB / 292.5 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.1804, allocations: 13.78 kB / 292.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.538e-05/0.1804, allocations: 79.59 kB / 292.6 MB, free: 14.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1804, allocations: 2.953 kB / 292.6 MB, free: 14.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.003682/0.1841, allocations: 376 kB / 293 MB, free: 14.66 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.009878/0.194, allocations: 3.501 MB / 296.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004847/0.1945, allocations: 323.6 kB / 296.8 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/0.1945, allocations: 5.062 kB / 296.8 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.1946, allocations: 125.7 kB / 297 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/0.1951, allocations: 212.2 kB / 297.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006094/0.2012, allocations: 0.7818 MB / 297.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.741e-05/0.2013, allocations: 120 kB / 298.1 MB, free: 12.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002563/0.2016, allocations: 172.2 kB / 298.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.2018, allocations: 169.8 kB / 298.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2018, allocations: 0 / 298.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of Templates: time 0.02544/0.2272, allocations: 21.92 MB / 320.3 MB, free: 8.688 MB / 298.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 -ignoreHideResult -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.9358969777822495]