Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.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.002172/0.002172, allocations: 77.39 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002258/0.002258, allocations: 155.9 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.455/1.455, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.467e-05, allocations: 3.344 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03876/0.03879, allocations: 34.41 MB / 353.3 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03575/0.07454, allocations: 27.11 MB / 380.4 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000742/0.07528, allocations: 7.938 kB / 380.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.0765, allocations: 381.6 kB / 380.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.07776, allocations: 0.5512 MB / 381.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01454/0.0923, allocations: 5.35 MB / 386.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.09424, allocations: 1.371 MB / 388.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.09449, allocations: 115.9 kB / 388.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.09559, allocations: 0.7363 MB / 388.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006108/0.0962, allocations: 402.7 kB / 389.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.725e-05/0.0963, allocations: 52 kB / 389.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02675/0.123, allocations: 12.46 MB / 401.9 MB, free: 8.527 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003766/0.1234, allocations: 167.3 kB / 402 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005774/0.124, allocations: 239.6 kB / 402.2 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04535/0.1694, allocations: 15.56 MB / 417.8 MB, free: 8.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.1694, allocations: 0 / 417.8 MB, free: 8.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1694, allocations: 0 / 417.8 MB, free: 8.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1694, allocations: 4 kB / 417.8 MB, free: 8.551 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.008235/0.1776, allocations: 1.384 MB / 419.2 MB, free: 7.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1776, allocations: 8.031 kB / 419.2 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007541/0.1784, allocations: 103.6 kB / 419.3 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006048/0.179, allocations: 332.2 kB / 419.6 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.179, allocations: 40.94 kB / 419.7 MB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-05/0.1791, allocations: 48 kB / 419.7 MB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.1805, allocations: 0.8213 MB / 420.5 MB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.1806, allocations: 3.938 kB / 420.5 MB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/0.1806, allocations: 24 kB / 420.6 MB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.1806, allocations: 12 kB / 420.6 MB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.1817, allocations: 0.5268 MB / 421.1 MB, free: 5.098 MB / 382.1 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.004065/0.1858, allocations: 2.724 MB / 423.8 MB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009941/0.1868, allocations: 396.1 kB / 424.2 MB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.1871, allocations: 200.1 kB / 424.4 MB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002142/0.1893, allocations: 0.6207 MB / 425 MB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.1893, allocations: 34.94 kB / 425.1 MB, free: 1.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.004e-06/0.1893, allocations: 0 / 425.1 MB, free: 1.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=54): time 0.01029/0.1996, allocations: 1.893 MB / 427 MB, free: 15.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.1997, allocations: 59.84 kB / 427 MB, free: 15.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.2, allocations: 285.7 kB / 427.3 MB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.2001, allocations: 37.7 kB / 427.3 MB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.2003, allocations: 233.1 kB / 427.6 MB, free: 14.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.2005, allocations: 194.3 kB / 427.7 MB, free: 14.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.2007, allocations: 118.3 kB / 427.9 MB, free: 14.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.2009, allocations: 350.7 kB / 428.2 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.2013, allocations: 181.2 kB / 428.4 MB, free: 13.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.2018, allocations: 332.7 kB / 428.7 MB, free: 13.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009534/0.2027, allocations: 0.5496 MB / 429.3 MB, free: 12.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2027, allocations: 0 / 429.3 MB, free: 12.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001456/0.2042, allocations: 0.6714 MB / 429.9 MB, free: 11.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.2042, allocations: 11.12 kB / 429.9 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.2042, allocations: 4 kB / 429.9 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009789/0.214, allocations: 454.4 kB / 430.4 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.2147, allocations: 143.8 kB / 430.5 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/0.2172, allocations: 2.963 MB / 433.5 MB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.2175, allocations: 12.5 kB / 433.5 MB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.2176, allocations: 39.98 kB / 433.5 MB, free: 8.148 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003099/0.2179, allocations: 194.2 kB / 433.7 MB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.218, allocations: 39.77 kB / 433.8 MB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.2197, allocations: 1.082 MB / 434.8 MB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.2197, allocations: 7.984 kB / 434.9 MB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.2197, allocations: 0 / 434.9 MB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001407/0.2211, allocations: 1.11 MB / 436 MB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.2235, allocations: 1.607 MB / 437.6 MB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2235, allocations: 3.938 kB / 437.6 MB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.2239, allocations: 95.89 kB / 437.7 MB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003221/0.2272, allocations: 349.1 kB / 438 MB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/0.2272, allocations: 20 kB / 438 MB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008869/0.2281, allocations: 1.144 MB / 439.2 MB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2281, allocations: 0 / 439.2 MB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.2299, allocations: 1.159 MB / 440.3 MB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.23, allocations: 47.66 kB / 440.4 MB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.2301, allocations: 12 kB / 440.4 MB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.2303, allocations: 8 kB / 440.4 MB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.2304, allocations: 40.47 kB / 440.4 MB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.2305, allocations: 19.98 kB / 440.5 MB, free: 1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002901/0.2307, allocations: 227.1 kB / 440.7 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2307, allocations: 0 / 440.7 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005783/0.2365, allocations: 0.9779 MB / 441.7 MB, free: 15.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.03294/0.2695, allocations: 8.005 MB / 449.7 MB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.2713, allocations: 0.6926 MB / 450.4 MB, free: 7.066 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.2713, allocations: 4 kB / 450.4 MB, free: 7.062 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006652/0.272, allocations: 351.2 kB / 450.7 MB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.2734, allocations: 232.2 kB / 450.9 MB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.2757, allocations: 1.227 MB / 452.2 MB, free: 5.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.276, allocations: 264.7 kB / 452.4 MB, free: 4.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005161/0.2765, allocations: 243.8 kB / 452.7 MB, free: 4.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.2766, allocations: 48.5 kB / 452.7 MB, free: 4.66 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2766, allocations: 4 kB / 452.7 MB, free: 4.656 MB / 414.1 MB Notification: Performance of Templates: time 0.2022/0.4789, allocations: 35.72 MB / 488.4 MB, free: 124.2 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.839534059166908]