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.001846/0.001846, allocations: 81.98 kB / 21.99 MB, free: 4.754 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.002262/0.002262, allocations: 153.8 kB / 25.25 MB, free: 2.742 MB / 14.72 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 1.337/1.337, allocations: 158.6 MB / 187 MB, free: 6.352 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 60.39 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2118, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.0389/0.2507, allocations: 34.7 MB / 383.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0347/0.2854, allocations: 27.16 MB / 410.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005355/0.2859, allocations: 7.938 kB / 410.4 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.2871, allocations: 377.8 kB / 410.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.2881, allocations: 0.5284 MB / 411.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0143/0.3024, allocations: 5.249 MB / 416.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.3042, allocations: 1.375 MB / 417.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.3045, allocations: 118.9 kB / 418 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008547/0.3054, allocations: 0.5527 MB / 418.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000632/0.306, allocations: 442.3 kB / 419 MB, free: 8.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-05/0.3061, allocations: 52 kB / 419.1 MB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02478/0.3309, allocations: 12.43 MB / 431.5 MB, free: 12.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003281/0.3312, allocations: 159.4 kB / 431.6 MB, free: 12.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005002/0.3317, allocations: 267.1 kB / 431.9 MB, free: 11.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0432/0.3749, allocations: 14.95 MB / 446.8 MB, free: 12.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.3749, allocations: 3.984 kB / 446.9 MB, free: 12.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3749, allocations: 0 / 446.9 MB, free: 12.9 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3749, allocations: 0 / 446.9 MB, free: 12.9 MB / 414.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.006876/0.3818, allocations: 1.388 MB / 448.2 MB, free: 11.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3818, allocations: 15.98 kB / 448.3 MB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007007/0.3825, allocations: 99.56 kB / 448.4 MB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/0.3831, allocations: 316.3 kB / 448.7 MB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.3832, allocations: 37 kB / 448.7 MB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/0.3833, allocations: 55.95 kB / 448.8 MB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.3846, allocations: 0.8174 MB / 449.6 MB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.3846, allocations: 11.92 kB / 449.6 MB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.693e-05/0.3847, allocations: 20 kB / 449.6 MB, free: 9.988 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.3847, allocations: 12 kB / 449.6 MB, free: 9.977 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.3858, allocations: 0.5268 MB / 450.1 MB, free: 9.449 MB / 414.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.004096/0.3899, allocations: 2.728 MB / 452.9 MB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009512/0.3908, allocations: 392.1 kB / 453.2 MB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.3912, allocations: 205.3 kB / 453.5 MB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002062/0.3932, allocations: 0.6323 MB / 454.1 MB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.3933, allocations: 42.94 kB / 454.1 MB, free: 5.371 MB / 414.1 MB Notification: Performance of pre-optimization done (n=46): time 1.834e-06/0.3933, allocations: 0 / 454.1 MB, free: 5.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=54): time 0.009379/0.4027, allocations: 1.879 MB / 456 MB, free: 3.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.4027, allocations: 63.83 kB / 456.1 MB, free: 3.375 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.4031, allocations: 289.6 kB / 456.3 MB, free: 3.082 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.4031, allocations: 33.7 kB / 456.4 MB, free: 3.043 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.4033, allocations: 237.1 kB / 456.6 MB, free: 2.809 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.4035, allocations: 206.2 kB / 456.8 MB, free: 2.605 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.4036, allocations: 118.3 kB / 456.9 MB, free: 2.484 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4038, allocations: 346.8 kB / 457.3 MB, free: 2.137 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.4041, allocations: 177.2 kB / 457.4 MB, free: 1.961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.4046, allocations: 324.1 kB / 457.8 MB, free: 1.586 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/0.4055, allocations: 0.5496 MB / 458.3 MB, free: 0.9766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.4055, allocations: 4 kB / 458.3 MB, free: 0.9727 MB / 414.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001355/0.4068, allocations: 0.6755 MB / 459 MB, free: 288 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4068, allocations: 8 kB / 459 MB, free: 280 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4069, allocations: 4 kB / 459 MB, free: 276 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00916/0.416, allocations: 446 kB / 459.4 MB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.4166, allocations: 135.8 kB / 459.6 MB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.4192, allocations: 2.975 MB / 462.5 MB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.4195, allocations: 16 kB / 462.6 MB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.4196, allocations: 27.94 kB / 462.6 MB, free: 12.49 MB / 430.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.000303/0.4199, allocations: 194.1 kB / 462.8 MB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.42, allocations: 43.77 kB / 462.8 MB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.4218, allocations: 1.078 MB / 463.9 MB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.4218, allocations: 11.98 kB / 463.9 MB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.4218, allocations: 0 / 463.9 MB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/0.4232, allocations: 1.122 MB / 465 MB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.4255, allocations: 1.584 MB / 466.6 MB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.4255, allocations: 0 / 466.6 MB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.4259, allocations: 103.9 kB / 466.7 MB, free: 8.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003095/0.429, allocations: 345.1 kB / 467.1 MB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.4291, allocations: 20 kB / 467.1 MB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008405/0.4299, allocations: 1.144 MB / 468.2 MB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4299, allocations: 0 / 468.2 MB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.4315, allocations: 1.151 MB / 469.4 MB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.411e-05/0.4316, allocations: 43.69 kB / 469.4 MB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.4317, allocations: 24.08 kB / 469.4 MB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.432, allocations: 12 kB / 469.4 MB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.432, allocations: 40.42 kB / 469.5 MB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/0.4321, allocations: 20 kB / 469.5 MB, free: 5.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002562/0.4323, allocations: 231 kB / 469.7 MB, free: 5.129 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4323, allocations: 0 / 469.7 MB, free: 5.129 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004997/0.4373, allocations: 0.9741 MB / 470.7 MB, free: 4.152 MB / 430.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.1874/0.6247, allocations: 7.867 MB / 478.6 MB, free: 104.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.6262, allocations: 0.698 MB / 479.3 MB, free: 104.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6262, allocations: 0.7812 kB / 479.3 MB, free: 104.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004882/0.6267, allocations: 349.2 kB / 479.6 MB, free: 104.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.6279, allocations: 238.9 kB / 479.8 MB, free: 104.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.6297, allocations: 1.351 MB / 481.2 MB, free: 104.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.6299, allocations: 269.3 kB / 481.5 MB, free: 104.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000431/0.6304, allocations: 237.5 kB / 481.7 MB, free: 104 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.6304, allocations: 45.38 kB / 481.7 MB, free: 104 MB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.6304, allocations: 3 kB / 481.7 MB, free: 104 MB / 430.1 MB Notification: Performance of Templates: time 0.0382/0.6686, allocations: 35.51 MB / 0.5051 GB, free: 71.29 MB / 430.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/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: 8.81825522100553]