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.00179/0.00179, allocations: 114 kB / 20.43 MB, free: 1.457 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.001514/0.001514, allocations: 214.2 kB / 23.74 MB, free: 4.672 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.503/1.503, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.001915/0.001915, allocations: 59.91 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.264, allocations: 53.42 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06009/0.3241, allocations: 51.17 MB / 482.4 MB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006777/0.3309, allocations: 5.238 MB / 487.6 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.3311, allocations: 7.938 kB / 487.6 MB, free: 14.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000748/0.3318, allocations: 254.6 kB / 487.9 MB, free: 13.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006647/0.3325, allocations: 377.9 kB / 488.2 MB, free: 13.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01776/0.3503, allocations: 7.193 MB / 495.4 MB, free: 6.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.3518, allocations: 1.111 MB / 496.5 MB, free: 5.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.3521, allocations: 105.8 kB / 496.6 MB, free: 5.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007273/0.3594, allocations: 3.603 MB / 0.4885 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006947/0.36, allocations: 430.6 kB / 0.4889 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.3602, allocations: 56 kB / 0.489 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02016/0.3803, allocations: 10.19 MB / 0.4989 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003788/0.3807, allocations: 235.4 kB / 0.4992 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004781/0.3812, allocations: 302.9 kB / 0.4994 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.3938, allocations: 5.534 MB / 0.5048 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3938, allocations: 4 kB / 0.5049 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3938, allocations: 0 / 0.5049 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.3938, allocations: 0 / 0.5049 GB, free: 0.6602 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.003275/0.3971, allocations: 1.327 MB / 0.5061 GB, free: 15.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3971, allocations: 12.03 kB / 0.5062 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.3972, allocations: 86.52 kB / 0.5062 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003192/0.3976, allocations: 63.67 kB / 0.5063 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/0.3981, allocations: 308.4 kB / 0.5066 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.3981, allocations: 29 kB / 0.5066 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.792e-05/0.3982, allocations: 48 kB / 0.5067 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.3995, allocations: 0.5843 MB / 0.5072 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.3995, allocations: 7.984 kB / 0.5072 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.3996, allocations: 16 kB / 0.5073 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.3996, allocations: 12 kB / 0.5073 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.401, allocations: 0.7456 MB / 0.508 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.4137, allocations: 4.176 MB / 0.5121 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.4149, allocations: 0.5008 MB / 0.5126 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.4153, allocations: 249.6 kB / 0.5128 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/0.4257, allocations: 2.545 MB / 0.5153 GB, free: 5.734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.4258, allocations: 46.94 kB / 0.5153 GB, free: 5.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 5.831e-06/0.4258, allocations: 3.984 kB / 0.5153 GB, free: 5.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005687/0.4315, allocations: 1.886 MB / 0.5172 GB, free: 3.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.4315, allocations: 59.91 kB / 0.5172 GB, free: 3.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/0.4319, allocations: 320.2 kB / 0.5175 GB, free: 3.363 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/0.432, allocations: 37.7 kB / 0.5176 GB, free: 3.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.4321, allocations: 204.7 kB / 0.5178 GB, free: 3.117 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.4323, allocations: 202.3 kB / 0.518 GB, free: 2.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.4325, allocations: 118.3 kB / 0.5181 GB, free: 2.797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.4327, allocations: 346.8 kB / 0.5184 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004393/0.4331, allocations: 241.2 kB / 0.5186 GB, free: 2.215 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/0.4337, allocations: 344.2 kB / 0.519 GB, free: 1.844 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.435, allocations: 0.5956 MB / 0.5196 GB, free: 1.215 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.435, allocations: 4 kB / 0.5196 GB, free: 1.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001829/0.4368, allocations: 0.7481 MB / 0.5203 GB, free: 460 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4369, allocations: 11.94 kB / 0.5203 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.4369, allocations: 8 kB / 0.5203 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/0.4374, allocations: 102.5 kB / 0.5204 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.4379, allocations: 128 kB / 0.5205 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/0.4407, allocations: 3.259 MB / 0.5237 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.441, allocations: 15.98 kB / 0.5237 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.066e-05/0.4411, allocations: 28 kB / 0.5238 GB, free: 12.64 MB / 446.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.0002904/0.4414, allocations: 205.6 kB / 0.5239 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.4416, allocations: 47.7 kB / 0.524 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.4432, allocations: 0.8191 MB / 0.5248 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.4432, allocations: 8 kB / 0.5248 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4432, allocations: 3.984 kB / 0.5248 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001197/0.4444, allocations: 0.7635 MB / 0.5255 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.4466, allocations: 1.269 MB / 0.5268 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4466, allocations: 0 / 0.5268 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.4471, allocations: 103.8 kB / 0.5269 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009036/0.448, allocations: 148.7 kB / 0.527 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.448, allocations: 19.98 kB / 0.527 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004822/0.4485, allocations: 0.6445 MB / 0.5277 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4485, allocations: 0 / 0.5277 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.4502, allocations: 0.9132 MB / 0.5286 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/0.4503, allocations: 39.77 kB / 0.5286 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-05/0.4503, allocations: 16.03 kB / 0.5286 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.4507, allocations: 15.98 kB / 0.5286 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.4508, allocations: 32.38 kB / 0.5287 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.4508, allocations: 39.97 kB / 0.5287 GB, free: 7.336 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003045/0.4511, allocations: 251 kB / 0.5289 GB, free: 7.094 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4511, allocations: 0 / 0.5289 GB, free: 7.094 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003929/0.4551, allocations: 1.345 MB / 0.5303 GB, free: 5.746 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.007509/0.4626, allocations: 3.035 MB / 0.5332 GB, free: 2.672 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.4642, allocations: 0.7728 MB / 0.534 GB, free: 1.867 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.4642, allocations: 4 kB / 0.534 GB, free: 1.863 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005673/0.4647, allocations: 287.1 kB / 0.5343 GB, free: 1.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.4661, allocations: 279.4 kB / 0.5345 GB, free: 1.312 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2101/0.6762, allocations: 5.321 MB / 0.5397 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.6765, allocations: 0.8376 MB / 0.5405 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005187/0.677, allocations: 142.9 kB / 0.5407 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.6773, allocations: 154.9 kB / 0.5408 GB, free: 101.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.723e-06/0.6773, allocations: 0 / 0.5408 GB, free: 101.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08437/0.7616, allocations: 51.12 MB / 0.5907 GB, free: 58.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/16.33, allocations: 4.062 kB / 0.5907 GB, free: 58.81 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: 25.454371723000804]