Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 192.8 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 52.06 kB / 371.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2232, allocations: 52.18 MB / 423.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05549/0.2786, allocations: 51.05 MB / 474.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006284/0.2849, allocations: 5.238 MB / 479.7 MB, free: 6.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.2851, allocations: 7.938 kB / 479.7 MB, free: 6.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006932/0.2858, allocations: 250.6 kB / 480 MB, free: 6.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006051/0.2864, allocations: 369.9 kB / 480.3 MB, free: 5.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01638/0.3028, allocations: 7.196 MB / 487.5 MB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001666/0.3045, allocations: 1.115 MB / 488.6 MB, free: 13.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002669/0.3047, allocations: 93.88 kB / 488.7 MB, free: 13.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007521/0.3122, allocations: 3.618 MB / 492.3 MB, free: 9.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009817/0.3132, allocations: 422.5 kB / 492.8 MB, free: 9.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.3134, allocations: 56 kB / 492.8 MB, free: 9.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01937/0.3328, allocations: 10.14 MB / 0.4912 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004074/0.3332, allocations: 239.3 kB / 0.4914 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005186/0.3337, allocations: 302.9 kB / 0.4917 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.3451, allocations: 5.522 MB / 0.4971 GB, free: 8.926 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3451, allocations: 3.938 kB / 0.4971 GB, free: 8.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3451, allocations: 0 / 0.4971 GB, free: 8.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.3452, allocations: 0 / 0.4971 GB, free: 8.922 MB / 414.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.003193/0.3484, allocations: 1.323 MB / 0.4984 GB, free: 7.562 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3484, allocations: 12.03 kB / 0.4984 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.256e-05/0.3484, allocations: 13 kB / 0.4984 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.3485, allocations: 86.52 kB / 0.4985 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003272/0.3488, allocations: 63.59 kB / 0.4985 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/0.3494, allocations: 305.3 kB / 0.4988 GB, free: 7.059 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.3494, allocations: 37 kB / 0.4989 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-05/0.3495, allocations: 44 kB / 0.4989 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.3507, allocations: 0.5843 MB / 0.4995 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.3508, allocations: 0 / 0.4995 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/0.3508, allocations: 27.98 kB / 0.4995 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.3508, allocations: 11.98 kB / 0.4995 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.3522, allocations: 0.7534 MB / 0.5003 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/0.3647, allocations: 4.149 MB / 0.5043 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.366, allocations: 0.5113 MB / 0.5048 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.3664, allocations: 247.7 kB / 0.505 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.3766, allocations: 2.561 MB / 0.5075 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/0.3767, allocations: 47 kB / 0.5076 GB, free: 13.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.615e-06/0.3767, allocations: 4 kB / 0.5076 GB, free: 13.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005962/0.3826, allocations: 1.905 MB / 0.5094 GB, free: 11.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.3827, allocations: 55.91 kB / 0.5095 GB, free: 11.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.3831, allocations: 316.2 kB / 0.5098 GB, free: 11.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.93e-05/0.3831, allocations: 37.7 kB / 0.5098 GB, free: 11.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3833, allocations: 204.7 kB / 0.51 GB, free: 11.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.3835, allocations: 206.3 kB / 0.5102 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.3836, allocations: 106.3 kB / 0.5103 GB, free: 11.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3838, allocations: 350.8 kB / 0.5107 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.3842, allocations: 241.2 kB / 0.5109 GB, free: 10.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/0.3848, allocations: 340.2 kB / 0.5112 GB, free: 10.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.386, allocations: 0.6073 MB / 0.5118 GB, free: 9.438 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.386, allocations: 3.938 kB / 0.5118 GB, free: 9.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001834/0.3879, allocations: 0.7558 MB / 0.5126 GB, free: 8.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3879, allocations: 4.281 kB / 0.5126 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.3879, allocations: 8 kB / 0.5126 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000497/0.3884, allocations: 106.5 kB / 0.5127 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.3889, allocations: 123.8 kB / 0.5128 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002694/0.3916, allocations: 3.277 MB / 0.516 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.3919, allocations: 16.22 kB / 0.516 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.469e-05/0.392, allocations: 35.92 kB / 0.516 GB, free: 4.832 MB / 430.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.000305/0.3923, allocations: 185.7 kB / 0.5162 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.3926, allocations: 43.77 kB / 0.5163 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.3942, allocations: 0.8229 MB / 0.5171 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3942, allocations: 4 kB / 0.5171 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3942, allocations: 0 / 0.5171 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001152/0.3954, allocations: 0.7673 MB / 0.5178 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.3974, allocations: 1.254 MB / 0.519 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3974, allocations: 0 / 0.519 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/0.3979, allocations: 115.8 kB / 0.5191 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009098/0.3988, allocations: 152.6 kB / 0.5193 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.462e-05/0.3989, allocations: 19.98 kB / 0.5193 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004473/0.3993, allocations: 0.6446 MB / 0.5199 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3993, allocations: 0 / 0.5199 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.401, allocations: 0.9132 MB / 0.5208 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.4011, allocations: 43.73 kB / 0.5209 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.4011, allocations: 12 kB / 0.5209 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.4015, allocations: 19.92 kB / 0.5209 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.4016, allocations: 36.38 kB / 0.5209 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/0.4016, allocations: 31.97 kB / 0.521 GB, free: 15.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002984/0.4019, allocations: 259 kB / 0.5212 GB, free: 15.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4019, allocations: 0 / 0.5212 GB, free: 15.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003439/0.4054, allocations: 1.333 MB / 0.5225 GB, free: 13.97 MB / 446.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.007263/0.4126, allocations: 3.038 MB / 0.5255 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.4142, allocations: 0.7805 MB / 0.5262 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4142, allocations: 0 / 0.5262 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.4147, allocations: 275.2 kB / 0.5265 GB, free: 9.816 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.4162, allocations: 276.7 kB / 0.5268 GB, free: 9.543 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009668/0.4258, allocations: 5.329 MB / 0.532 GB, free: 4.043 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.4263, allocations: 0.8403 MB / 0.5328 GB, free: 3.176 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004974/0.4268, allocations: 136.3 kB / 0.5329 GB, free: 3.039 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.4271, allocations: 159.3 kB / 0.5331 GB, free: 2.883 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4271, allocations: 0 / 0.5331 GB, free: 2.883 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2664/0.6935, allocations: 50.96 MB / 0.5828 GB, free: 73.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.09, allocations: 16.5 kB / 0.5829 GB, free: 73.43 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 38.32880465098424]