Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001346/0.001346, allocations: 103.6 kB / 21.18 MB, free: 332 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.001533/0.001533, allocations: 212 kB / 24.47 MB, free: 3.547 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.381/1.381, allocations: 207.7 MB / 235.3 MB, free: 9.809 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.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.001753/0.001753, allocations: 58.58 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2564, allocations: 49.15 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05464/0.3111, allocations: 45.57 MB / 441.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007498/0.3186, allocations: 4.693 MB / 446.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003291/0.3189, allocations: 7.938 kB / 446.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009895/0.3199, allocations: 234.6 kB / 446.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007603/0.3206, allocations: 370 kB / 447.2 MB, free: 156 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01992/0.3406, allocations: 6.779 MB / 454 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001425/0.342, allocations: 1.115 MB / 455.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.3422, allocations: 93.83 kB / 455.2 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006451/0.3487, allocations: 3.603 MB / 458.8 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005948/0.3493, allocations: 406.5 kB / 459.2 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.699e-05/0.3494, allocations: 60 kB / 459.3 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01703/0.3664, allocations: 9.174 MB / 468.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003441/0.3667, allocations: 235.4 kB / 468.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003968/0.3671, allocations: 275.1 kB / 468.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01211/0.3792, allocations: 5.398 MB / 474.3 MB, free: 4.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.3792, allocations: 4 kB / 474.3 MB, free: 4.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3792, allocations: 0 / 474.3 MB, free: 4.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.3792, allocations: 0 / 474.3 MB, free: 4.977 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002956/0.3822, allocations: 1.312 MB / 475.6 MB, free: 3.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3822, allocations: 15.92 kB / 475.7 MB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.3824, allocations: 82.53 kB / 475.7 MB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003302/0.3827, allocations: 63.7 kB / 475.8 MB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.3832, allocations: 316.1 kB / 476.1 MB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.3833, allocations: 29 kB / 476.1 MB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-05/0.3833, allocations: 47.95 kB / 476.2 MB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.3848, allocations: 0.8972 MB / 477.1 MB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.3848, allocations: 0 / 477.1 MB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.684e-05/0.3849, allocations: 19.98 kB / 477.1 MB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.3849, allocations: 12 kB / 477.1 MB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.3863, allocations: 0.7417 MB / 477.9 MB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/0.3988, allocations: 3.662 MB / 481.5 MB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.4001, allocations: 0.5083 MB / 482 MB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.4005, allocations: 242.1 kB / 482.3 MB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01051/0.411, allocations: 2.569 MB / 484.8 MB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.603e-05/0.4111, allocations: 47 kB / 484.9 MB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.274e-06/0.4111, allocations: 0 / 484.9 MB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.005673/0.4167, allocations: 1.897 MB / 486.8 MB, free: 8.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.4168, allocations: 63.84 kB / 486.8 MB, free: 8.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.4172, allocations: 324.1 kB / 487.2 MB, free: 7.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.4172, allocations: 37.7 kB / 487.2 MB, free: 7.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.4174, allocations: 200.7 kB / 487.4 MB, free: 7.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.4175, allocations: 202.3 kB / 487.6 MB, free: 7.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.4177, allocations: 114.3 kB / 487.7 MB, free: 7.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.4179, allocations: 346.8 kB / 488 MB, free: 6.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/0.4183, allocations: 241.2 kB / 488.3 MB, free: 6.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006633/0.419, allocations: 340.3 kB / 488.6 MB, free: 6.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.4202, allocations: 0.6034 MB / 489.2 MB, free: 5.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4202, allocations: 0 / 489.2 MB, free: 5.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001828/0.422, allocations: 0.7442 MB / 490 MB, free: 4.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.4221, allocations: 11.94 kB / 490 MB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4221, allocations: 0 / 490 MB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004764/0.4225, allocations: 114.4 kB / 490.1 MB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.423, allocations: 123.8 kB / 490.2 MB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/0.4258, allocations: 3.262 MB / 493.5 MB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.426, allocations: 16 kB / 493.5 MB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.703e-05/0.4261, allocations: 36.39 kB / 493.5 MB, free: 1.141 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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 {2} * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002642/0.4264, allocations: 189.6 kB / 493.7 MB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.4267, allocations: 47.77 kB / 493.7 MB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.4282, allocations: 0.819 MB / 494.6 MB, free: 48 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.4282, allocations: 8 kB / 494.6 MB, free: 40 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.4282, allocations: 0 / 494.6 MB, free: 40 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001201/0.4294, allocations: 0.7596 MB / 495.3 MB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.4316, allocations: 1.199 MB / 496.5 MB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4316, allocations: 0 / 496.5 MB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.432, allocations: 95.89 kB / 496.6 MB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008978/0.4329, allocations: 156.7 kB / 496.8 MB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/0.433, allocations: 19.98 kB / 496.8 MB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000458/0.4334, allocations: 0.6406 MB / 497.4 MB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.4334, allocations: 4.031 kB / 497.4 MB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.4351, allocations: 0.9015 MB / 498.3 MB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-05/0.4352, allocations: 39.8 kB / 498.4 MB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.4353, allocations: 12 kB / 498.4 MB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.4357, allocations: 28.08 kB / 498.4 MB, free: 12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.4357, allocations: 40.3 kB / 498.5 MB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.4358, allocations: 27.98 kB / 498.5 MB, free: 11.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002929/0.4361, allocations: 255 kB / 498.7 MB, free: 11.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4361, allocations: 0 / 498.7 MB, free: 11.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003452/0.4395, allocations: 1.321 MB / 0.4883 GB, free: 10.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007056/0.4466, allocations: 3.074 MB / 0.4913 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.4481, allocations: 0.7727 MB / 0.4921 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4481, allocations: 8.188 kB / 0.4921 GB, free: 6.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005624/0.4487, allocations: 287.1 kB / 0.4924 GB, free: 6.152 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.45, allocations: 269.2 kB / 0.4926 GB, free: 5.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008588/0.4586, allocations: 5.312 MB / 0.4978 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.4589, allocations: 233.6 kB / 0.498 GB, free: 152 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004964/0.4594, allocations: 136.3 kB / 0.4982 GB, free: 12 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.4597, allocations: 155.5 kB / 0.4983 GB, free: 15.86 MB / 430.1 MB Notification: Performance of SimCode: time 6.02e-07/0.4597, allocations: 0 / 0.4983 GB, free: 15.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/0.5611, allocations: 53.59 MB / 0.5507 GB, free: 10.11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/14.79, allocations: 8 kB / 0.5507 GB, free: 10.11 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 29.567643564660102]