Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009751/0.0009751, allocations: 79.91 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000922/0.000922, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9527/0.9527, allocations: 173.4 MB / 201.1 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.846e-05, allocations: 2.312 kB / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01516/0.01519, allocations: 10.7 MB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.02544, allocations: 9.173 MB / 287.9 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.02568, allocations: 4 kB / 287.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005425/0.02622, allocations: 147 kB / 288 MB, free: 2.324 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006519/0.02687, allocations: 389.5 kB / 288.4 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004248/0.03112, allocations: 1.891 MB / 290.3 MB, free: 44 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1194/0.1505, allocations: 0.9869 MB / 291.3 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.1508, allocations: 82.42 kB / 291.4 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009516/0.1517, allocations: 0.4996 MB / 291.9 MB, free: 16.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000472/0.1522, allocations: 269.2 kB / 292.1 MB, free: 16.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.962e-05/0.1523, allocations: 36.88 kB / 292.2 MB, free: 16.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008429/0.1607, allocations: 5.323 MB / 297.5 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.1609, allocations: 114.5 kB / 297.6 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002711/0.1611, allocations: 172.2 kB / 297.8 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009735/0.1709, allocations: 4.907 MB / 302.7 MB, free: 16.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1709, allocations: 4.719 kB / 302.7 MB, free: 16.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1709, allocations: 0 / 302.7 MB, free: 16.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1709, allocations: 0 / 302.7 MB, free: 16.08 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.003826/0.1747, allocations: 0.856 MB / 303.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.1748, allocations: 9.641 kB / 303.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000415/0.1752, allocations: 135.6 kB / 303.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.1755, allocations: 271.8 kB / 303.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1755, allocations: 25.69 kB / 304 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.1756, allocations: 33.25 kB / 304 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.1761, allocations: 0.5322 MB / 304.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.1762, allocations: 9.562 kB / 304.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.1762, allocations: 15.66 kB / 304.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.1762, allocations: 9.719 kB / 304.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.1766, allocations: 243.9 kB / 304.8 MB, free: 14.92 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.002131/0.1787, allocations: 2.566 MB / 307.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.1791, allocations: 211.8 kB / 307.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1792, allocations: 88.27 kB / 307.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.1795, allocations: 152.2 kB / 307.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1795, allocations: 37.33 kB / 307.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 8.376e-06/0.1795, allocations: 5.25 kB / 307.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.002763/0.1823, allocations: 0.9827 MB / 308.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.1823, allocations: 66.47 kB / 308.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1825, allocations: 270.3 kB / 309.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1825, allocations: 37.08 kB / 309.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.1826, allocations: 245.6 kB / 309.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.1826, allocations: 123 kB / 309.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.1827, allocations: 88.23 kB / 309.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.553e-05/0.1827, allocations: 0.5039 MB / 310.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.062e-05/0.1828, allocations: 69.11 kB / 310.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.183, allocations: 231 kB / 310.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.1832, allocations: 323.1 kB / 310.7 MB, free: 10.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1832, allocations: 4 kB / 310.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004601/0.1837, allocations: 380.7 kB / 311.1 MB, free: 9.969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1837, allocations: 8.562 kB / 311.1 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1837, allocations: 4 kB / 311.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002121/0.1858, allocations: 228.1 kB / 311.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.186, allocations: 91.33 kB / 311.4 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000779/0.1868, allocations: 2.542 MB / 314 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.1869, allocations: 11.81 kB / 314 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.1869, allocations: 19.81 kB / 314 MB, free: 7 MB / 266.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 9.841e-05/0.187, allocations: 182.6 kB / 314.2 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.1871, allocations: 35.8 kB / 314.2 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004798/0.1876, allocations: 499.1 kB / 314.7 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1876, allocations: 5.719 kB / 314.7 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.1876, allocations: 0 / 314.7 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003206/0.1879, allocations: 0.6573 MB / 315.4 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007125/0.1886, allocations: 0.8683 MB / 316.3 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1886, allocations: 3.781 kB / 316.3 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.1887, allocations: 61.97 kB / 316.3 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006958/0.1894, allocations: 167.1 kB / 316.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.1895, allocations: 14.69 kB / 316.5 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001384/0.1896, allocations: 0.7952 MB / 317.3 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1896, allocations: 0 / 317.3 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.19, allocations: 0.5701 MB / 317.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.1901, allocations: 30.88 kB / 317.9 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.1901, allocations: 15.8 kB / 317.9 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.1902, allocations: 3.75 kB / 317.9 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.1902, allocations: 33.27 kB / 317.9 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.1902, allocations: 11.69 kB / 318 MB, free: 3.297 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.489e-05/0.1903, allocations: 216 kB / 318.2 MB, free: 3.102 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1903, allocations: 0 / 318.2 MB, free: 3.102 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00217/0.1925, allocations: 371.3 kB / 318.5 MB, free: 2.766 MB / 266.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.008743/0.2012, allocations: 3.463 MB / 322 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007005/0.2019, allocations: 444.3 kB / 322.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2019, allocations: 1.719 kB / 322.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.2021, allocations: 155 kB / 322.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/0.2027, allocations: 174.5 kB / 322.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.2041, allocations: 0.7788 MB / 323.5 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.466e-05/0.2042, allocations: 111 kB / 323.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002382/0.2044, allocations: 157.2 kB / 323.8 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/0.2045, allocations: 41.27 kB / 323.8 MB, free: 13.69 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2045, allocations: 0 / 323.8 MB, free: 13.69 MB / 282.7 MB Notification: Performance of Templates: time 0.02239/0.2269, allocations: 19.35 MB / 343.2 MB, free: 10.56 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.404917350038886]