Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.001277/0.001277, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001408/0.001408, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.417/1.417, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [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.001811/0.001811, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2451, allocations: 49.16 MB / 396.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02706/0.2722, allocations: 26.99 MB / 423.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02925/0.3014, allocations: 25.07 MB / 448.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004146/0.3018, allocations: 7.938 kB / 448.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009504/0.3028, allocations: 302.3 kB / 448.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.3039, allocations: 381.9 kB / 449.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01204/0.3159, allocations: 4.119 MB / 453.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.3174, allocations: 0.9581 MB / 454.2 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.3177, allocations: 85.22 kB / 454.2 MB, free: 9.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008301/0.3185, allocations: 398.6 kB / 454.6 MB, free: 8.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005838/0.3191, allocations: 322.7 kB / 455 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.146e-05/0.3192, allocations: 36 kB / 455 MB, free: 8.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02204/0.3412, allocations: 10.53 MB / 465.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002543/0.3414, allocations: 111.7 kB / 465.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000449/0.3419, allocations: 223.1 kB / 465.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02957/0.3715, allocations: 11.51 MB / 477.4 MB, free: 2.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3715, allocations: 0 / 477.4 MB, free: 2.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3715, allocations: 0 / 477.4 MB, free: 2.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.254e-05/0.3715, allocations: 0 / 477.4 MB, free: 2.113 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.006273/0.3778, allocations: 1.101 MB / 478.5 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3778, allocations: 15.92 kB / 478.5 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/0.3779, allocations: 82.47 kB / 478.6 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005737/0.3785, allocations: 63.78 kB / 478.6 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.379, allocations: 260.6 kB / 478.9 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.379, allocations: 28.66 kB / 478.9 MB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.94e-05/0.3791, allocations: 31.94 kB / 478.9 MB, free: 480 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009729/0.38, allocations: 467.8 kB / 479.4 MB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.3801, allocations: 4 kB / 479.4 MB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.3801, allocations: 16 kB / 479.4 MB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.3801, allocations: 8 kB / 479.4 MB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008011/0.3809, allocations: 386.3 kB / 479.8 MB, free: 15.57 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.003938/0.3848, allocations: 2.822 MB / 482.6 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.3855, allocations: 282.8 kB / 482.9 MB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.3857, allocations: 124.8 kB / 483 MB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/0.3872, allocations: 471.4 kB / 483.5 MB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.3873, allocations: 34.5 kB / 483.5 MB, free: 11.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 4.478e-06/0.3873, allocations: 3.984 kB / 483.5 MB, free: 11.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.005182/0.3925, allocations: 1.147 MB / 484.7 MB, free: 10.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.3925, allocations: 55.41 kB / 484.7 MB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.3928, allocations: 261.8 kB / 485 MB, free: 10.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.3929, allocations: 37.7 kB / 485 MB, free: 10.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.393, allocations: 196.4 kB / 485.2 MB, free: 9.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.3931, allocations: 122.9 kB / 485.3 MB, free: 9.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.3933, allocations: 82.08 kB / 485.4 MB, free: 9.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3934, allocations: 338.8 kB / 485.7 MB, free: 9.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.3936, allocations: 112.8 kB / 485.8 MB, free: 9.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.394, allocations: 230 kB / 486.1 MB, free: 8.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005632/0.3945, allocations: 377.5 kB / 486.4 MB, free: 8.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3945, allocations: 0 / 486.4 MB, free: 8.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008672/0.3954, allocations: 454.8 kB / 486.9 MB, free: 8.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3954, allocations: 8 kB / 486.9 MB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3954, allocations: 4 kB / 486.9 MB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004653/0.4001, allocations: 233.4 kB / 487.1 MB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.4004, allocations: 88.2 kB / 487.2 MB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.4021, allocations: 1.847 MB / 489 MB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.4023, allocations: 12 kB / 489.1 MB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.4023, allocations: 23.98 kB / 489.1 MB, free: 5.703 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0002294/0.4026, allocations: 157.7 kB / 489.2 MB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/0.4027, allocations: 39.75 kB / 489.3 MB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.4038, allocations: 0.7056 MB / 490 MB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.4038, allocations: 11.92 kB / 490 MB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.4038, allocations: 0 / 490 MB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009678/0.4048, allocations: 0.8752 MB / 490.9 MB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.4065, allocations: 1.194 MB / 492.1 MB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4065, allocations: 0 / 492.1 MB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.4067, allocations: 63.91 kB / 492.1 MB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001619/0.4083, allocations: 172.6 kB / 492.3 MB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.4084, allocations: 11.98 kB / 492.3 MB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005232/0.4089, allocations: 0.5835 MB / 492.9 MB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.4089, allocations: 7.969 kB / 492.9 MB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.41, allocations: 0.7419 MB / 493.6 MB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.4101, allocations: 31.73 kB / 493.7 MB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.4101, allocations: 8 kB / 493.7 MB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.4103, allocations: 12 kB / 493.7 MB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.4104, allocations: 31.98 kB / 493.7 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.4104, allocations: 19.97 kB / 493.7 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.4107, allocations: 223.1 kB / 494 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4107, allocations: 0 / 494 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004057/0.4147, allocations: 0.7481 MB / 494.7 MB, free: 15.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02585/0.4406, allocations: 7.596 MB / 0.4905 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.4417, allocations: 466 kB / 0.491 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.4417, allocations: 4.875 kB / 0.491 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004535/0.4421, allocations: 208 kB / 0.4912 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.4433, allocations: 204.5 kB / 0.4914 GB, free: 7.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00867/0.452, allocations: 4.049 MB / 0.4953 GB, free: 3.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.4525, allocations: 0.8052 MB / 0.4961 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004335/0.4529, allocations: 203.7 kB / 0.4963 GB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.4531, allocations: 135.4 kB / 0.4964 GB, free: 1.965 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4531, allocations: 0 / 0.4964 GB, free: 1.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/0.5563, allocations: 34.21 MB / 0.5298 GB, free: 15.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.53, allocations: 3.906 kB / 0.5298 GB, free: 15.62 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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: 19.812529711052775]