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.00187/0.00187, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.002279/0.002279, allocations: 168.9 kB / 24.5 MB, free: 3.453 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.425/1.425, allocations: 177.2 MB / 204.9 MB, free: 9.039 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 0.002236/0.002236, allocations: 50.61 kB / 325.6 MB, free: 276 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1115, allocations: 53.33 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04194/0.1534, allocations: 34.81 MB / 413.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04104/0.1944, allocations: 27.16 MB / 440.9 MB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005163/0.195, allocations: 11.94 kB / 440.9 MB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.1961, allocations: 385.8 kB / 441.3 MB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001132/0.1972, allocations: 0.5283 MB / 441.8 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0141/0.2113, allocations: 5.257 MB / 447 MB, free: 11.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002105/0.2134, allocations: 1.371 MB / 448.4 MB, free: 9.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.2137, allocations: 119 kB / 448.5 MB, free: 9.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009855/0.2147, allocations: 0.545 MB / 449.1 MB, free: 9.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006284/0.2153, allocations: 438.2 kB / 449.5 MB, free: 8.844 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.462e-05/0.2154, allocations: 52 kB / 449.6 MB, free: 8.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02568/0.2411, allocations: 12.45 MB / 462 MB, free: 12.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002862/0.2413, allocations: 151.5 kB / 462.2 MB, free: 12.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004562/0.2418, allocations: 275 kB / 462.4 MB, free: 11.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.313/0.5548, allocations: 14.94 MB / 477.4 MB, free: 18.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.5548, allocations: 3.172 kB / 477.4 MB, free: 18.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5548, allocations: 0 / 477.4 MB, free: 18.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.5548, allocations: 0 / 477.4 MB, free: 18.38 MB / 430.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.01233/0.5671, allocations: 1.395 MB / 478.8 MB, free: 17.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.5672, allocations: 8.312 kB / 478.8 MB, free: 17.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009101/0.5681, allocations: 97.31 kB / 478.9 MB, free: 17.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/0.5688, allocations: 328.6 kB / 479.2 MB, free: 17.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.5688, allocations: 38.03 kB / 479.2 MB, free: 17.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.5689, allocations: 44.81 kB / 479.3 MB, free: 17.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.5702, allocations: 0.8243 MB / 480.1 MB, free: 16.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.5702, allocations: 6.906 kB / 480.1 MB, free: 16.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/0.5702, allocations: 28.5 kB / 480.1 MB, free: 16.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.5703, allocations: 12.44 kB / 480.1 MB, free: 16.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.5713, allocations: 0.5198 MB / 480.7 MB, free: 16.98 MB / 430.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.003447/0.5747, allocations: 2.733 MB / 483.4 MB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/0.5756, allocations: 388.4 kB / 483.8 MB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.5759, allocations: 198 kB / 484 MB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001969/0.5778, allocations: 0.6198 MB / 484.6 MB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.5779, allocations: 45.12 kB / 484.6 MB, free: 15.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 1.843e-06/0.5779, allocations: 0.7812 kB / 484.6 MB, free: 15.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=54): time 0.01009/0.588, allocations: 1.893 MB / 486.5 MB, free: 15.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.588, allocations: 58.22 kB / 486.6 MB, free: 15.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.5883, allocations: 280.8 kB / 486.8 MB, free: 15.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.5883, allocations: 36.39 kB / 486.9 MB, free: 15.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.5884, allocations: 239.5 kB / 487.1 MB, free: 14.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.5885, allocations: 201.8 kB / 487.3 MB, free: 14.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.5887, allocations: 124.8 kB / 487.4 MB, free: 14.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.5887, allocations: 345.3 kB / 487.8 MB, free: 14.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.589, allocations: 179.5 kB / 487.9 MB, free: 14.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.5894, allocations: 329.9 kB / 488.3 MB, free: 14.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006924/0.5901, allocations: 0.55 MB / 488.8 MB, free: 14.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5901, allocations: 1.188 kB / 488.8 MB, free: 14.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001278/0.5914, allocations: 0.6775 MB / 489.5 MB, free: 14.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.5914, allocations: 7.125 kB / 489.5 MB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.5914, allocations: 5.656 kB / 489.5 MB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01178/0.6032, allocations: 473.4 kB / 490 MB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.6038, allocations: 142.9 kB / 490.1 MB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.6051, allocations: 2.963 MB / 493.1 MB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000385/0.6055, allocations: 17.22 kB / 493.1 MB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.6056, allocations: 29.97 kB / 493.1 MB, free: 11.25 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.0002558/0.6058, allocations: 185.7 kB / 493.3 MB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.6061, allocations: 46.52 kB / 493.3 MB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.6074, allocations: 1.083 MB / 494.4 MB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.6074, allocations: 15.98 kB / 494.4 MB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.6074, allocations: 0 / 494.4 MB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001003/0.6084, allocations: 1.109 MB / 495.6 MB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.6102, allocations: 1.59 MB / 497.1 MB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6102, allocations: 1.203 kB / 497.1 MB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.6106, allocations: 100.6 kB / 497.2 MB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002892/0.6135, allocations: 355.6 kB / 497.6 MB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.6135, allocations: 17.41 kB / 497.6 MB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007529/0.6143, allocations: 1.15 MB / 498.8 MB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6143, allocations: 0 / 498.8 MB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.6156, allocations: 1.148 MB / 499.9 MB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.6157, allocations: 48.34 kB / 500 MB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-05/0.6158, allocations: 14.75 kB / 500 MB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.616, allocations: 12.16 kB / 500 MB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.6161, allocations: 40.81 kB / 0.4883 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.6161, allocations: 21.38 kB / 0.4883 GB, free: 24.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.6163, allocations: 224.7 kB / 0.4885 GB, free: 24.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6163, allocations: 4.406 kB / 0.4885 GB, free: 24.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006553/0.6229, allocations: 0.9799 MB / 0.4895 GB, free: 24.75 MB / 446.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.03034/0.6532, allocations: 7.885 MB / 0.4972 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.6547, allocations: 0.6935 MB / 0.4979 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.6547, allocations: 0 / 0.4979 GB, free: 20.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004833/0.6552, allocations: 358 kB / 0.4982 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.6565, allocations: 240.9 kB / 0.4984 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.6583, allocations: 1.338 MB / 0.4998 GB, free: 20.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.6584, allocations: 267.8 kB / 0.5 GB, free: 20.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003915/0.6588, allocations: 235 kB / 0.5002 GB, free: 20.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.226e-05/0.6589, allocations: 52.14 kB / 0.5003 GB, free: 20.12 MB / 446.1 MB Notification: Performance of SimCode: time 7.52e-07/0.6589, allocations: 0 / 0.5003 GB, free: 20.12 MB / 446.1 MB Notification: Performance of Templates: time 0.04917/0.7081, allocations: 35.59 MB / 0.535 GB, free: 9.629 MB / 462.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins1/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: 9.038577049970627]