Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.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.001326/0.001326, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001426/0.001426, allocations: 166.5 kB / 23.95 MB, free: 4.16 MB / 14.72 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 1.406/1.406, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.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.1.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.1.0_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.775e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03919/0.03922, allocations: 34.53 MB / 359.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03443/0.07365, allocations: 27.13 MB / 386.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005934/0.07425, allocations: 11.94 kB / 386.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.07549, allocations: 381.6 kB / 387.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.07669, allocations: 0.5511 MB / 387.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01626/0.09294, allocations: 5.352 MB / 393 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.09498, allocations: 1.375 MB / 394.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.09525, allocations: 119 kB / 394.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.09636, allocations: 0.7363 MB / 395.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006145/0.09697, allocations: 398.8 kB / 395.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.345e-05/0.09707, allocations: 52 kB / 395.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02572/0.1228, allocations: 12.47 MB / 408.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.1231, allocations: 155.5 kB / 408.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005339/0.1236, allocations: 239.6 kB / 408.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04566/0.1693, allocations: 15.57 MB / 424.1 MB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.1693, allocations: 7.984 kB / 424.1 MB, free: 1.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1693, allocations: 0 / 424.1 MB, free: 1.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.22e-05/0.1693, allocations: 0 / 424.1 MB, free: 1.828 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.009189/0.1785, allocations: 1.392 MB / 425.5 MB, free: 408 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1786, allocations: 8.031 kB / 425.5 MB, free: 400 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008697/0.1794, allocations: 103.6 kB / 425.6 MB, free: 296 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006426/0.1801, allocations: 324.3 kB / 425.9 MB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.1801, allocations: 37 kB / 426 MB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.558e-05/0.1802, allocations: 48 kB / 426 MB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.1816, allocations: 0.8251 MB / 426.8 MB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.1817, allocations: 3.984 kB / 426.8 MB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/0.1817, allocations: 24 kB / 426.9 MB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.1818, allocations: 12 kB / 426.9 MB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.183, allocations: 0.5229 MB / 427.4 MB, free: 14.38 MB / 398.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.004113/0.1871, allocations: 2.724 MB / 430.1 MB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.1881, allocations: 395.3 kB / 430.5 MB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.1884, allocations: 201.3 kB / 430.7 MB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002169/0.1906, allocations: 0.6246 MB / 431.3 MB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1906, allocations: 34.94 kB / 431.4 MB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 1.984e-06/0.1906, allocations: 0 / 431.4 MB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.01094/0.2016, allocations: 1.899 MB / 433.3 MB, free: 8.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.2016, allocations: 59.89 kB / 433.3 MB, free: 8.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.202, allocations: 281.7 kB / 433.6 MB, free: 8.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.202, allocations: 37.7 kB / 433.6 MB, free: 7.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.2022, allocations: 237 kB / 433.9 MB, free: 7.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.2024, allocations: 198.3 kB / 434.1 MB, free: 7.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.2026, allocations: 118.3 kB / 434.2 MB, free: 7.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2027, allocations: 350.7 kB / 434.5 MB, free: 7.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.2031, allocations: 177.2 kB / 434.7 MB, free: 6.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/0.2035, allocations: 332.1 kB / 435 MB, free: 6.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008952/0.2044, allocations: 0.5536 MB / 435.6 MB, free: 5.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2044, allocations: 4 kB / 435.6 MB, free: 5.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001543/0.206, allocations: 0.6674 MB / 436.2 MB, free: 5.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.206, allocations: 8 kB / 436.3 MB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.206, allocations: 4 kB / 436.3 MB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01281/0.2188, allocations: 474.5 kB / 436.7 MB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/0.2195, allocations: 151.7 kB / 436.9 MB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.2222, allocations: 2.956 MB / 439.8 MB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.2225, allocations: 20 kB / 439.8 MB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/0.2226, allocations: 24 kB / 439.9 MB, free: 1.406 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.0002998/0.2229, allocations: 197.5 kB / 440.1 MB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.2231, allocations: 43.77 kB / 440.1 MB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.2249, allocations: 1.075 MB / 441.2 MB, free: 72 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.2249, allocations: 4 kB / 441.2 MB, free: 68 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2249, allocations: 8.094 kB / 441.2 MB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001417/0.2263, allocations: 1.114 MB / 442.3 MB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.2287, allocations: 1.592 MB / 443.9 MB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.2287, allocations: 0 / 443.9 MB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.2293, allocations: 107.8 kB / 444 MB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003357/0.2327, allocations: 345.2 kB / 444.3 MB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.355e-05/0.2327, allocations: 23.98 kB / 444.4 MB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008532/0.2336, allocations: 1.148 MB / 445.5 MB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2336, allocations: 4 kB / 445.5 MB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.2353, allocations: 1.147 MB / 446.7 MB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.2354, allocations: 47.69 kB / 446.7 MB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.2355, allocations: 15.95 kB / 446.7 MB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.2358, allocations: 12 kB / 446.7 MB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.2358, allocations: 36.42 kB / 446.8 MB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.2359, allocations: 19.98 kB / 446.8 MB, free: 10.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002659/0.2361, allocations: 227.1 kB / 447 MB, free: 10.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2361, allocations: 0 / 447 MB, free: 10.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00535/0.2415, allocations: 0.9819 MB / 448 MB, free: 9.055 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.03291/0.2744, allocations: 8.016 MB / 456 MB, free: 1.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.2762, allocations: 0.6963 MB / 456.7 MB, free: 312 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2762, allocations: 0 / 456.7 MB, free: 312 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007147/0.2769, allocations: 351.2 kB / 457 MB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.2784, allocations: 232.4 kB / 457.3 MB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.2807, allocations: 1.231 MB / 458.5 MB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.281, allocations: 264.7 kB / 458.8 MB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005477/0.2815, allocations: 241.2 kB / 459 MB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.2816, allocations: 52.48 kB / 459.1 MB, free: 13.9 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2816, allocations: 0 / 459.1 MB, free: 13.9 MB / 430.1 MB Notification: Performance of Templates: time 0.1964/0.478, allocations: 35.78 MB / 494.8 MB, free: 114.8 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.673233512789011]