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.000867/0.000867, allocations: 83.64 kB / 21.43 MB, free: 3.125 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.003816/0.003816, allocations: 163.3 kB / 24.69 MB, free: 8.895 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.8704/0.8704, allocations: 158.6 MB / 186.5 MB, free: 3.031 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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.89e-05, allocations: 2.281 kB / 298.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.1592/0.1593, allocations: 34.43 MB / 332.9 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01857/0.1778, allocations: 27.11 MB / 360 MB, free: 1.016 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004121/0.1782, allocations: 11.94 kB / 360 MB, free: 1.004 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008382/0.1791, allocations: 381.6 kB / 360.4 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000737/0.1798, allocations: 0.5511 MB / 360.9 MB, free: 76 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01098/0.1908, allocations: 5.35 MB / 366.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.1923, allocations: 1.378 MB / 367.7 MB, free: 9.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.1926, allocations: 111.1 kB / 367.8 MB, free: 9.211 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000829/0.1934, allocations: 0.7362 MB / 368.5 MB, free: 8.473 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.1938, allocations: 398.8 kB / 368.9 MB, free: 8.082 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.1938, allocations: 52 kB / 368.9 MB, free: 8.031 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01923/0.2131, allocations: 12.47 MB / 381.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.2134, allocations: 155.5 kB / 381.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003806/0.2137, allocations: 247.6 kB / 381.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02825/0.242, allocations: 15.55 MB / 397.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.242, allocations: 3.984 kB / 397.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.242, allocations: 7.938 kB / 397.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.242, allocations: 0 / 397.4 MB, free: 11.56 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.005734/0.2477, allocations: 1.384 MB / 398.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.2478, allocations: 17.3 kB / 398.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.434e-05/0.2479, allocations: 86.52 kB / 398.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004401/0.2483, allocations: 95.58 kB / 398.9 MB, free: 9.938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.2488, allocations: 324.3 kB / 399.3 MB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.2488, allocations: 37 kB / 399.3 MB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.2488, allocations: 51.95 kB / 399.3 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008343/0.2497, allocations: 0.8174 MB / 400.2 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2497, allocations: 11.94 kB / 400.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.2497, allocations: 16 kB / 400.2 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2497, allocations: 12 kB / 400.2 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009016/0.2506, allocations: 0.5191 MB / 400.7 MB, free: 8.039 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.002568/0.2532, allocations: 2.797 MB / 403.5 MB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/0.2539, allocations: 400.1 kB / 403.9 MB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.2541, allocations: 197.5 kB / 404.1 MB, free: 4.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.2552, allocations: 0.6304 MB / 404.7 MB, free: 3.922 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2552, allocations: 38.94 kB / 404.8 MB, free: 3.875 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 2.274e-06/0.2552, allocations: 0 / 404.8 MB, free: 3.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=54): time 0.005143/0.2603, allocations: 1.883 MB / 406.7 MB, free: 1.949 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.2604, allocations: 55.91 kB / 406.7 MB, free: 1.883 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.2606, allocations: 316.4 kB / 407 MB, free: 1.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.2607, allocations: 37.7 kB / 407.1 MB, free: 1.527 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.2608, allocations: 241 kB / 407.3 MB, free: 1.285 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004156/0.2612, allocations: 198.3 kB / 407.5 MB, free: 1.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.2613, allocations: 118.3 kB / 407.6 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2614, allocations: 350.7 kB / 407.9 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.2616, allocations: 181.2 kB / 408.1 MB, free: 448 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.2619, allocations: 332.1 kB / 408.4 MB, free: 56 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005843/0.2625, allocations: 0.5502 MB / 409 MB, free: 15.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2625, allocations: 0 / 409 MB, free: 15.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008131/0.2633, allocations: 0.6749 MB / 409.7 MB, free: 14.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.2633, allocations: 8 kB / 409.7 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.2633, allocations: 4 kB / 409.7 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004199/0.2675, allocations: 454.3 kB / 410.1 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.2679, allocations: 143.8 kB / 410.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.2696, allocations: 2.978 MB / 413.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.2699, allocations: 16.44 kB / 413.3 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.2699, allocations: 31.98 kB / 413.3 MB, free: 10.94 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.0002568/0.2702, allocations: 185.7 kB / 413.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/0.2703, allocations: 47.75 kB / 413.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.2716, allocations: 1.086 MB / 414.6 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.2716, allocations: 15.98 kB / 414.6 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.2716, allocations: 0 / 414.6 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007508/0.2724, allocations: 1.106 MB / 415.7 MB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.2738, allocations: 1.663 MB / 417.4 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2738, allocations: 0 / 417.4 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.2741, allocations: 103.8 kB / 417.5 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.2754, allocations: 349.1 kB / 417.8 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.2754, allocations: 23.92 kB / 417.9 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004641/0.2759, allocations: 1.145 MB / 419 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2759, allocations: 0 / 419 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.2769, allocations: 1.152 MB / 420.1 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.661e-05/0.277, allocations: 51.69 kB / 420.2 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.277, allocations: 19.89 kB / 420.2 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.2772, allocations: 12 kB / 420.2 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.2772, allocations: 40.36 kB / 420.3 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.2773, allocations: 24.86 kB / 420.3 MB, free: 3.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001823/0.2774, allocations: 247 kB / 420.5 MB, free: 3.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2774, allocations: 0 / 420.5 MB, free: 3.453 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003822/0.2813, allocations: 0.9741 MB / 421.5 MB, free: 2.477 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.02303/0.3043, allocations: 9.595 MB / 431.1 MB, free: 8.836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.3056, allocations: 0.6848 MB / 431.8 MB, free: 8.141 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3057, allocations: 4 kB / 431.8 MB, free: 8.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.3061, allocations: 359.2 kB / 432.1 MB, free: 7.789 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009004/0.307, allocations: 268.9 kB / 432.4 MB, free: 7.523 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008609/0.3156, allocations: 5.255 MB / 437.7 MB, free: 2.043 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.3157, allocations: 260.9 kB / 437.9 MB, free: 1.758 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004392/0.3162, allocations: 244 kB / 438.2 MB, free: 1.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.3164, allocations: 200.4 kB / 438.4 MB, free: 1.324 MB / 394.7 MB Notification: Performance of SimCode: time 1.753e-06/0.3164, allocations: 0 / 438.4 MB, free: 1.324 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1871/0.5035, allocations: 43.96 MB / 482.3 MB, free: 132 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.667/9.17, allocations: 9.109 kB / 482.3 MB, free: 132 MB / 426.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] 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: 12.873100747354329]