Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008352/0.0008352, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0009176/0.0009176, allocations: 156.4 kB / 25.44 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8523/0.8523, allocations: 158.6 MB / 187.2 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.R134a.R134a2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 299.7 MB, free: 2.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.644e-05, allocations: 2.281 kB / 299.7 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1658/0.1659, allocations: 34.43 MB / 334.1 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01982/0.1857, allocations: 27.12 MB / 361.3 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004195/0.1861, allocations: 11.94 kB / 361.3 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008363/0.1869, allocations: 377.6 kB / 361.6 MB, free: 492 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008612/0.1878, allocations: 0.5512 MB / 362.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01075/0.1986, allocations: 5.347 MB / 367.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.1998, allocations: 1.374 MB / 368.9 MB, free: 9.176 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.2, allocations: 111.1 kB / 369 MB, free: 9.066 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000828/0.2008, allocations: 0.7363 MB / 369.8 MB, free: 8.328 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.2012, allocations: 394.8 kB / 370.1 MB, free: 7.941 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.676e-05/0.2013, allocations: 52 kB / 370.2 MB, free: 7.891 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01794/0.2192, allocations: 12.46 MB / 382.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.2195, allocations: 163.4 kB / 382.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.2199, allocations: 243.6 kB / 383.1 MB, free: 11 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02394/0.2438, allocations: 15.56 MB / 398.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2438, allocations: 0 / 398.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.2438, allocations: 4 kB / 398.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.2438, allocations: 5.312 kB / 398.6 MB, free: 11.42 MB / 362.7 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.006587/0.2504, allocations: 1.384 MB / 400 MB, free: 10 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2505, allocations: 15.98 kB / 400 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004599/0.2509, allocations: 95.58 kB / 400.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.2514, allocations: 324.3 kB / 400.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.2515, allocations: 37 kB / 400.5 MB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.2515, allocations: 51.95 kB / 400.5 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008456/0.2523, allocations: 0.8213 MB / 401.3 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.2524, allocations: 7.938 kB / 401.3 MB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.2524, allocations: 20 kB / 401.4 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.2524, allocations: 12 kB / 401.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006392/0.253, allocations: 0.5229 MB / 401.9 MB, free: 7.984 MB / 362.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.002529/0.2556, allocations: 2.724 MB / 404.6 MB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005927/0.2562, allocations: 408.1 kB / 405 MB, free: 4.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.2564, allocations: 196.5 kB / 405.2 MB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009881/0.2574, allocations: 0.6129 MB / 405.8 MB, free: 3.965 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.2574, allocations: 42.92 kB / 405.9 MB, free: 3.914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 1.753e-06/0.2574, allocations: 3.938 kB / 405.9 MB, free: 3.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=54): time 0.004906/0.2623, allocations: 1.875 MB / 407.7 MB, free: 1.992 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.2623, allocations: 59.84 kB / 407.8 MB, free: 1.922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.2625, allocations: 285.7 kB / 408.1 MB, free: 1.637 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.2625, allocations: 41.69 kB / 408.1 MB, free: 1.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2626, allocations: 241 kB / 408.4 MB, free: 1.348 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.2627, allocations: 194.3 kB / 408.5 MB, free: 1.156 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.2628, allocations: 118.3 kB / 408.7 MB, free: 1.035 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.263, allocations: 350.7 kB / 409 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.2632, allocations: 177.2 kB / 409.2 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.2634, allocations: 332.1 kB / 409.5 MB, free: 128 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000545/0.264, allocations: 0.557 MB / 410.1 MB, free: 15.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.264, allocations: 0 / 410.1 MB, free: 15.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007588/0.2647, allocations: 0.6674 MB / 410.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2648, allocations: 8 kB / 410.7 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2648, allocations: 7.938 kB / 410.7 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004109/0.2689, allocations: 450.6 kB / 411.2 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.2692, allocations: 143.8 kB / 411.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.2705, allocations: 2.963 MB / 414.3 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.2707, allocations: 16.09 kB / 414.3 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.2707, allocations: 28 kB / 414.3 MB, free: 11.04 MB / 378.7 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.0001748/0.2709, allocations: 193.6 kB / 414.5 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.2709, allocations: 39.77 kB / 414.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009644/0.2719, allocations: 1.078 MB / 415.6 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.2719, allocations: 7.984 kB / 415.6 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.2719, allocations: 4 kB / 415.6 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007718/0.2727, allocations: 1.114 MB / 416.8 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.274, allocations: 1.593 MB / 418.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2741, allocations: 0 / 418.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.2743, allocations: 104.8 kB / 418.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.2756, allocations: 345.1 kB / 418.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.2756, allocations: 16 kB / 418.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005017/0.2761, allocations: 1.148 MB / 420 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2761, allocations: 8.125 kB / 420 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.2771, allocations: 1.144 MB / 421.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.2772, allocations: 51.62 kB / 421.2 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.2772, allocations: 16.83 kB / 421.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.2773, allocations: 8 kB / 421.2 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.2774, allocations: 40.42 kB / 421.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.2774, allocations: 16 kB / 421.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000162/0.2776, allocations: 231 kB / 421.5 MB, free: 3.684 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2776, allocations: 0 / 421.5 MB, free: 3.684 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004298/0.2819, allocations: 0.974 MB / 422.4 MB, free: 2.707 MB / 378.7 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.01941/0.3013, allocations: 8.009 MB / 430.4 MB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.3024, allocations: 0.6965 MB / 431.1 MB, free: 9.969 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3024, allocations: 0 / 431.1 MB, free: 9.969 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.3028, allocations: 347.2 kB / 431.5 MB, free: 9.629 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007205/0.3035, allocations: 246.7 kB / 431.7 MB, free: 9.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.305, allocations: 1.26 MB / 433 MB, free: 8.098 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.3051, allocations: 268.7 kB / 433.2 MB, free: 7.805 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.874e-05/0.3052, allocations: 52.5 kB / 433.3 MB, free: 7.754 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3052, allocations: 4 kB / 433.3 MB, free: 7.75 MB / 394.7 MB Notification: Performance of Templates: time 0.0302/0.3354, allocations: 39 MB / 472.3 MB, free: 0.6836 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.755476485006511]