Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001661/0.001661, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002317/0.002317, allocations: 207.9 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.88 kB / 377.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2442, allocations: 53.41 MB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05737/0.3015, allocations: 45.51 MB / 476.7 MB, free: 8.773 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00692/0.3085, allocations: 4.709 MB / 481.4 MB, free: 4.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002589/0.3087, allocations: 4 kB / 481.4 MB, free: 4.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007967/0.3095, allocations: 238.6 kB / 481.6 MB, free: 3.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006835/0.3102, allocations: 374 kB / 482 MB, free: 3.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0176/0.3278, allocations: 7.129 MB / 489.1 MB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.3292, allocations: 1.107 MB / 490.2 MB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.3294, allocations: 93.83 kB / 490.3 MB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006488/0.3359, allocations: 3.603 MB / 493.9 MB, free: 7.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006119/0.3365, allocations: 410.5 kB / 494.3 MB, free: 7.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.3366, allocations: 56 kB / 494.4 MB, free: 7.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0176/0.3542, allocations: 9.321 MB / 0.4919 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004266/0.3546, allocations: 239.4 kB / 0.4921 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004826/0.3551, allocations: 259.2 kB / 0.4923 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.3682, allocations: 5.448 MB / 0.4977 GB, free: 7.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3682, allocations: 0 / 0.4977 GB, free: 7.766 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3682, allocations: 8 kB / 0.4977 GB, free: 7.758 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.3682, allocations: 0 / 0.4977 GB, free: 7.758 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.00344/0.3716, allocations: 1.327 MB / 0.499 GB, free: 6.395 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3717, allocations: 11.98 kB / 0.499 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.3718, allocations: 82.53 kB / 0.4991 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003347/0.3721, allocations: 71.64 kB / 0.4991 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005606/0.3727, allocations: 304.4 kB / 0.4994 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.3727, allocations: 29 kB / 0.4994 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.842e-05/0.3728, allocations: 44 kB / 0.4995 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.3743, allocations: 0.8894 MB / 0.5004 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.3743, allocations: 3.938 kB / 0.5004 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.227e-05/0.3743, allocations: 16 kB / 0.5004 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.3743, allocations: 12 kB / 0.5004 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.3757, allocations: 0.7417 MB / 0.5011 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01262/0.3884, allocations: 3.669 MB / 0.5047 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.3897, allocations: 0.5055 MB / 0.5052 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.3901, allocations: 238.1 kB / 0.5054 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01023/0.4003, allocations: 2.549 MB / 0.5079 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.108e-05/0.4004, allocations: 46.98 kB / 0.508 GB, free: 13.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.355e-06/0.4004, allocations: 3.938 kB / 0.508 GB, free: 13.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005843/0.4063, allocations: 1.901 MB / 0.5098 GB, free: 11.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.4063, allocations: 59.91 kB / 0.5099 GB, free: 11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.4067, allocations: 320.1 kB / 0.5102 GB, free: 10.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.812e-05/0.4068, allocations: 41.69 kB / 0.5102 GB, free: 10.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.407, allocations: 200.7 kB / 0.5104 GB, free: 10.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.4072, allocations: 206.2 kB / 0.5106 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.4074, allocations: 114.3 kB / 0.5107 GB, free: 10.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.4075, allocations: 346.8 kB / 0.511 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/0.408, allocations: 241.2 kB / 0.5113 GB, free: 9.531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000695/0.4087, allocations: 340.3 kB / 0.5116 GB, free: 9.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.4099, allocations: 0.5995 MB / 0.5122 GB, free: 8.535 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4099, allocations: 4 kB / 0.5122 GB, free: 8.531 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001937/0.4118, allocations: 0.7519 MB / 0.5129 GB, free: 7.766 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4119, allocations: 7.938 kB / 0.5129 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.4119, allocations: 4 kB / 0.5129 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005137/0.4124, allocations: 110.8 kB / 0.513 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/0.4129, allocations: 127.8 kB / 0.5132 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.4158, allocations: 3.262 MB / 0.5163 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.4161, allocations: 12 kB / 0.5164 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-05/0.4162, allocations: 35.98 kB / 0.5164 GB, free: 3.949 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.0003072/0.4165, allocations: 186.3 kB / 0.5166 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.4168, allocations: 47.75 kB / 0.5166 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.4185, allocations: 0.8113 MB / 0.5174 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.4185, allocations: 4 kB / 0.5174 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.4185, allocations: 8.094 kB / 0.5174 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001255/0.4197, allocations: 0.7596 MB / 0.5182 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.422, allocations: 1.195 MB / 0.5193 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.422, allocations: 0 / 0.5193 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.4225, allocations: 99.88 kB / 0.5194 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009052/0.4234, allocations: 160.6 kB / 0.5196 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/0.4234, allocations: 12 kB / 0.5196 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005066/0.4239, allocations: 0.6407 MB / 0.5202 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4239, allocations: 0 / 0.5202 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.4257, allocations: 0.9131 MB / 0.5211 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.4258, allocations: 43.89 kB / 0.5211 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.28e-05/0.4259, allocations: 15.94 kB / 0.5212 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.4263, allocations: 24.06 kB / 0.5212 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.4264, allocations: 36.38 kB / 0.5212 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.4265, allocations: 27.97 kB / 0.5212 GB, free: 14.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003303/0.4268, allocations: 255 kB / 0.5215 GB, free: 14.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4268, allocations: 0 / 0.5215 GB, free: 14.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003771/0.4306, allocations: 1.341 MB / 0.5228 GB, free: 13.16 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.008086/0.4387, allocations: 3.042 MB / 0.5258 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.4403, allocations: 0.7729 MB / 0.5265 GB, free: 9.273 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.4403, allocations: 0 / 0.5265 GB, free: 9.273 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005892/0.4409, allocations: 283.1 kB / 0.5268 GB, free: 8.996 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.4424, allocations: 280.8 kB / 0.5271 GB, free: 8.723 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.4525, allocations: 5.322 MB / 0.5323 GB, free: 3.219 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.4527, allocations: 229.6 kB / 0.5325 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005774/0.4533, allocations: 152.2 kB / 0.5326 GB, free: 2.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.4536, allocations: 155.4 kB / 0.5328 GB, free: 2.668 MB / 446.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4536, allocations: 0 / 0.5328 GB, free: 2.668 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2772/0.7308, allocations: 52.33 MB / 0.5839 GB, free: 65.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.35, allocations: 7.312 kB / 0.5839 GB, free: 65.38 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 24.560782968066633]