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.001893/0.001893, allocations: 104.2 kB / 21.96 MB, free: 5.219 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.002254/0.002254, allocations: 214 kB / 25.26 MB, free: 3.129 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.297/1.297, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.1 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.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",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.001651/0.001651, allocations: 55.86 kB / 348 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2343, allocations: 49.16 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0556/0.2899, allocations: 45.51 MB / 442.7 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006836/0.2967, allocations: 4.697 MB / 447.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003948/0.2971, allocations: 4 kB / 447.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008837/0.298, allocations: 234.6 kB / 447.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009332/0.2989, allocations: 370 kB / 447.9 MB, free: 180 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01923/0.3182, allocations: 6.785 MB / 454.7 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001533/0.3197, allocations: 1.115 MB / 455.8 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.3199, allocations: 101.8 kB / 455.9 MB, free: 8.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007066/0.327, allocations: 3.607 MB / 459.6 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007345/0.3277, allocations: 430.6 kB / 460 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.3279, allocations: 56 kB / 460 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01824/0.3461, allocations: 9.494 MB / 469.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.3465, allocations: 227.4 kB / 469.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005342/0.3471, allocations: 279.1 kB / 470 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.3606, allocations: 5.402 MB / 475.4 MB, free: 4.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3606, allocations: 0 / 475.4 MB, free: 4.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3606, allocations: 0 / 475.4 MB, free: 4.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.879e-05/0.3606, allocations: 0 / 475.4 MB, free: 4.645 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.003847/0.3645, allocations: 1.308 MB / 476.7 MB, free: 3.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.3645, allocations: 19.98 kB / 476.7 MB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.679e-05/0.3646, allocations: 13 kB / 476.8 MB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.3647, allocations: 82.47 kB / 476.8 MB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/0.3651, allocations: 71.64 kB / 476.9 MB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.3656, allocations: 300.2 kB / 477.2 MB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.3656, allocations: 33 kB / 477.2 MB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.591e-05/0.3657, allocations: 51.94 kB / 477.3 MB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.3672, allocations: 0.8932 MB / 478.2 MB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3673, allocations: 0 / 478.2 MB, free: 1.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.826e-05/0.3673, allocations: 19.98 kB / 478.2 MB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.3673, allocations: 12 kB / 478.2 MB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.3688, allocations: 0.7573 MB / 479 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.3812, allocations: 3.658 MB / 482.6 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.3825, allocations: 0.5044 MB / 483.1 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.3828, allocations: 242.1 kB / 483.4 MB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.3932, allocations: 2.577 MB / 485.9 MB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.3932, allocations: 39 kB / 486 MB, free: 9.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.264e-06/0.3932, allocations: 0 / 486 MB, free: 9.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.005862/0.3991, allocations: 1.901 MB / 487.9 MB, free: 7.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.3991, allocations: 59.91 kB / 487.9 MB, free: 7.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.3995, allocations: 320.1 kB / 488.3 MB, free: 7.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.517e-05/0.3996, allocations: 37.7 kB / 488.3 MB, free: 7.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.3997, allocations: 200.8 kB / 488.5 MB, free: 7.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.3999, allocations: 206.2 kB / 488.7 MB, free: 7.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.4001, allocations: 110.3 kB / 488.8 MB, free: 6.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4003, allocations: 354.7 kB / 489.1 MB, free: 6.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.4007, allocations: 237.2 kB / 489.4 MB, free: 6.379 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006626/0.4014, allocations: 340.3 kB / 489.7 MB, free: 6.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.4026, allocations: 0.6033 MB / 490.3 MB, free: 5.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4026, allocations: 4 kB / 490.3 MB, free: 5.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001837/0.4044, allocations: 0.7597 MB / 491.1 MB, free: 4.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4044, allocations: 4 kB / 491.1 MB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.4044, allocations: 4 kB / 491.1 MB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004832/0.4049, allocations: 106.5 kB / 491.2 MB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/0.4054, allocations: 119.8 kB / 491.3 MB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002753/0.4081, allocations: 3.258 MB / 494.6 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.4085, allocations: 28.02 kB / 494.6 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.381e-05/0.4085, allocations: 24.41 kB / 494.6 MB, free: 0.7969 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.0002844/0.4088, allocations: 205.6 kB / 494.8 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/0.4091, allocations: 43.77 kB / 494.9 MB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.4108, allocations: 0.8113 MB / 495.7 MB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.4108, allocations: 4 kB / 495.7 MB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4108, allocations: 0 / 495.7 MB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/0.412, allocations: 0.7674 MB / 496.4 MB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.4141, allocations: 1.18 MB / 497.6 MB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.4141, allocations: 7.984 kB / 497.6 MB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/0.4145, allocations: 99.83 kB / 497.7 MB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000907/0.4154, allocations: 148.7 kB / 497.9 MB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.4155, allocations: 23.92 kB / 497.9 MB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004641/0.4159, allocations: 0.6484 MB / 498.5 MB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4159, allocations: 0 / 498.5 MB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.4176, allocations: 0.9053 MB / 499.4 MB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.381e-05/0.4177, allocations: 39.78 kB / 499.5 MB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.616e-05/0.4178, allocations: 12 kB / 499.5 MB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.4182, allocations: 24.08 kB / 499.5 MB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.4183, allocations: 36.38 kB / 499.6 MB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/0.4183, allocations: 27.97 kB / 499.6 MB, free: 11.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.4186, allocations: 266.9 kB / 499.8 MB, free: 11.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4186, allocations: 0 / 499.8 MB, free: 11.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003528/0.4222, allocations: 1.321 MB / 0.4894 GB, free: 10.01 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.008074/0.4303, allocations: 3.058 MB / 0.4924 GB, free: 6.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.4319, allocations: 0.7845 MB / 0.4932 GB, free: 6.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4319, allocations: 4.062 kB / 0.4932 GB, free: 6.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005837/0.4324, allocations: 283.1 kB / 0.4934 GB, free: 5.812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.4338, allocations: 273.3 kB / 0.4937 GB, free: 5.547 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009482/0.4433, allocations: 5.315 MB / 0.4989 GB, free: 52 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.4436, allocations: 237.5 kB / 0.4991 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005548/0.4441, allocations: 148.2 kB / 0.4993 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.4444, allocations: 155.4 kB / 0.4994 GB, free: 15.49 MB / 430.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4444, allocations: 0 / 0.4994 GB, free: 15.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09722/0.5417, allocations: 53.34 MB / 0.5515 GB, free: 10.01 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.27, allocations: 11.97 kB / 0.5515 GB, free: 9.996 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: 30.878585688071325]