Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001632/0.001632, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001941/0.001941, allocations: 211.1 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 51.92 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2547, allocations: 53.36 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05602/0.3107, allocations: 45.52 MB / 476.6 MB, free: 8.941 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006276/0.317, allocations: 4.705 MB / 481.3 MB, free: 4.223 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.3171, allocations: 7.938 kB / 481.3 MB, free: 4.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007151/0.3178, allocations: 230.7 kB / 481.5 MB, free: 3.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006303/0.3185, allocations: 377.9 kB / 481.9 MB, free: 3.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01724/0.3357, allocations: 7.124 MB / 489 MB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.3372, allocations: 1.115 MB / 490.2 MB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.3374, allocations: 97.84 kB / 490.2 MB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006276/0.3437, allocations: 3.603 MB / 493.8 MB, free: 7.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005695/0.3442, allocations: 430.6 kB / 494.3 MB, free: 7.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.3443, allocations: 56 kB / 494.3 MB, free: 7.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01724/0.3616, allocations: 9.643 MB / 0.4922 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004209/0.362, allocations: 235.4 kB / 0.4924 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004805/0.3625, allocations: 263.1 kB / 0.4926 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01384/0.3763, allocations: 5.448 MB / 0.498 GB, free: 7.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.3763, allocations: 4 kB / 0.498 GB, free: 7.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3763, allocations: 4 kB / 0.498 GB, free: 7.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.3764, allocations: 4 kB / 0.498 GB, free: 7.57 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.003191/0.3795, allocations: 1.319 MB / 0.4993 GB, free: 6.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3796, allocations: 8.031 kB / 0.4993 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.3797, allocations: 86.52 kB / 0.4993 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003178/0.38, allocations: 63.72 kB / 0.4994 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000528/0.3805, allocations: 308.4 kB / 0.4997 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.3806, allocations: 29 kB / 0.4997 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-05/0.3806, allocations: 44 kB / 0.4998 GB, free: 5.652 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.382, allocations: 0.8933 MB / 0.5006 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.3821, allocations: 0 / 0.5006 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.147e-05/0.3821, allocations: 16 kB / 0.5007 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.3821, allocations: 16 kB / 0.5007 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.3835, allocations: 0.7417 MB / 0.5014 GB, free: 3.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.3954, allocations: 3.666 MB / 0.505 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.3967, allocations: 0.5046 MB / 0.5055 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/0.397, allocations: 250 kB / 0.5057 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00994/0.407, allocations: 2.553 MB / 0.5082 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.407, allocations: 39 kB / 0.5082 GB, free: 12.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.565e-06/0.407, allocations: 0 / 0.5082 GB, free: 12.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005489/0.4125, allocations: 1.905 MB / 0.5101 GB, free: 10.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.4126, allocations: 55.91 kB / 0.5101 GB, free: 10.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.4129, allocations: 332.1 kB / 0.5105 GB, free: 10.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.413, allocations: 37.7 kB / 0.5105 GB, free: 10.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.4131, allocations: 196.8 kB / 0.5107 GB, free: 10.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.4133, allocations: 206.2 kB / 0.5109 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.4135, allocations: 110.3 kB / 0.511 GB, free: 9.938 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4136, allocations: 350.8 kB / 0.5113 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/0.414, allocations: 241.2 kB / 0.5116 GB, free: 9.352 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/0.4146, allocations: 344.2 kB / 0.5119 GB, free: 8.984 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.4157, allocations: 0.5956 MB / 0.5125 GB, free: 8.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4157, allocations: 8 kB / 0.5125 GB, free: 8.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002163/0.4179, allocations: 0.748 MB / 0.5132 GB, free: 7.586 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4179, allocations: 7.938 kB / 0.5132 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4179, allocations: 4 kB / 0.5132 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005349/0.4185, allocations: 110.8 kB / 0.5133 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.419, allocations: 123.8 kB / 0.5134 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/0.4224, allocations: 3.277 MB / 0.5166 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.4228, allocations: 16.03 kB / 0.5167 GB, free: 3.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.4229, allocations: 27.98 kB / 0.5167 GB, free: 3.762 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.0003969/0.4233, allocations: 189.7 kB / 0.5169 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005501/0.4239, allocations: 43.77 kB / 0.5169 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/0.4267, allocations: 0.819 MB / 0.5177 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.4267, allocations: 4 kB / 0.5177 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4267, allocations: 8.031 kB / 0.5177 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002057/0.4287, allocations: 0.7674 MB / 0.5185 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003556/0.4323, allocations: 1.176 MB / 0.5196 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4323, allocations: 3.938 kB / 0.5196 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/0.4331, allocations: 99.83 kB / 0.5197 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001657/0.4347, allocations: 156.6 kB / 0.5199 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.825e-05/0.4348, allocations: 19.98 kB / 0.5199 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007488/0.4355, allocations: 0.6407 MB / 0.5205 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4355, allocations: 0 / 0.5205 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/0.4386, allocations: 0.9131 MB / 0.5214 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.4388, allocations: 39.89 kB / 0.5214 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.4389, allocations: 12 kB / 0.5214 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006944/0.4396, allocations: 19.98 kB / 0.5215 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.4397, allocations: 40.36 kB / 0.5215 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.4398, allocations: 23.98 kB / 0.5215 GB, free: 14.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005278/0.4404, allocations: 263 kB / 0.5218 GB, free: 14.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4404, allocations: 0 / 0.5218 GB, free: 14.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006661/0.447, allocations: 1.337 MB / 0.5231 GB, free: 12.98 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.01265/0.4597, allocations: 3.048 MB / 0.5261 GB, free: 9.887 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002874/0.4625, allocations: 0.7767 MB / 0.5268 GB, free: 9.082 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/0.4626, allocations: 0 / 0.5268 GB, free: 9.082 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.4636, allocations: 279.2 kB / 0.5271 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.4662, allocations: 273.2 kB / 0.5273 GB, free: 8.539 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/0.4819, allocations: 5.33 MB / 0.5325 GB, free: 3.027 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.4823, allocations: 237.6 kB / 0.5328 GB, free: 2.773 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009669/0.4833, allocations: 140.3 kB / 0.5329 GB, free: 2.633 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/0.4837, allocations: 155.4 kB / 0.5331 GB, free: 2.48 MB / 446.1 MB Notification: Performance of SimCode: time 1.462e-06/0.4837, allocations: 0 / 0.5331 GB, free: 2.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3625/0.8462, allocations: 52.51 MB / 0.5843 GB, free: 65.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/15.69, allocations: 14.44 kB / 0.5844 GB, free: 65.37 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 24.931201790022897]