Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001707/0.001707, allocations: 119 kB / 17.78 MB, free: 5.23 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: 197.2 kB / 20.73 MB, free: 2.289 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.46/1.46, allocations: 225.6 MB / 249.1 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] 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.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 47.92 kB / 365.6 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.1008, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03425/0.135, allocations: 26.56 MB / 444.3 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2115/0.3465, allocations: 2.237 MB / 446.6 MB, free: 7.043 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.3466, allocations: 0.875 kB / 446.6 MB, free: 7.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.347, allocations: 68.55 kB / 446.6 MB, free: 7.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.3473, allocations: 150.7 kB / 446.8 MB, free: 7.043 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01435/0.3617, allocations: 6.524 MB / 453.3 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004234/0.3621, allocations: 311.5 kB / 453.6 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.3621, allocations: 8.156 kB / 453.6 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.3623, allocations: 139.8 kB / 453.8 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.3625, allocations: 130.4 kB / 453.9 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.3626, allocations: 12.06 kB / 453.9 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01835/0.3809, allocations: 9.624 MB / 463.5 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.3811, allocations: 69.66 kB / 463.6 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.3813, allocations: 95.36 kB / 463.7 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.3938, allocations: 4.716 MB / 468.4 MB, free: 5.133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3938, allocations: 0 / 468.4 MB, free: 5.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3938, allocations: 0 / 468.4 MB, free: 5.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.3938, allocations: 0 / 468.4 MB, free: 5.133 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003931/0.3978, allocations: 1.155 MB / 469.5 MB, free: 4.309 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3978, allocations: 9.812 kB / 469.6 MB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.531e-05/0.3979, allocations: 48.77 kB / 469.6 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.398, allocations: 23.38 kB / 469.6 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3982, allocations: 224.7 kB / 469.8 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.3982, allocations: 11.27 kB / 469.9 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.3983, allocations: 16.64 kB / 469.9 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/0.399, allocations: 289.6 kB / 470.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.399, allocations: 1.094 kB / 470.2 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.399, allocations: 6.312 kB / 470.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.3991, allocations: 9.625 kB / 470.2 MB, free: 3.867 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.3998, allocations: 309.3 kB / 470.5 MB, free: 3.734 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.4011, allocations: 0.832 MB / 471.3 MB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007112/0.4018, allocations: 238.6 kB / 471.5 MB, free: 2.871 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.4021, allocations: 134.1 kB / 471.7 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01659/0.4187, allocations: 12.84 MB / 484.5 MB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/0.4187, allocations: 44.48 kB / 484.6 MB, free: 4.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.054e-06/0.4187, allocations: 1.906 kB / 484.6 MB, free: 4.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00306/0.4218, allocations: 0.6851 MB / 485.2 MB, free: 4.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.4218, allocations: 88.66 kB / 485.3 MB, free: 4.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.422, allocations: 128.2 kB / 485.5 MB, free: 4.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.422, allocations: 31.02 kB / 485.5 MB, free: 4.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.4221, allocations: 108.8 kB / 485.6 MB, free: 4.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.4222, allocations: 129.1 kB / 485.7 MB, free: 4.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.4224, allocations: 73.7 kB / 485.8 MB, free: 3.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4225, allocations: 326.2 kB / 486.1 MB, free: 3.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/0.423, allocations: 141.2 kB / 486.2 MB, free: 3.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005161/0.4235, allocations: 210.4 kB / 486.5 MB, free: 3.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009776/0.4245, allocations: 367.9 kB / 486.8 MB, free: 3.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4245, allocations: 0 / 486.8 MB, free: 3.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00123/0.4257, allocations: 419.9 kB / 487.2 MB, free: 3.023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4257, allocations: 6.594 kB / 487.2 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.391e-06/0.4257, allocations: 0 / 487.2 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.4257, allocations: 5.406 kB / 487.2 MB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.4262, allocations: 92 kB / 487.3 MB, free: 3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.4262, allocations: 7.062 kB / 487.3 MB, free: 3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.4265, allocations: 29.09 kB / 487.4 MB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.4266, allocations: 15.69 kB / 487.4 MB, free: 2.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.4268, allocations: 145.5 kB / 487.5 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.4269, allocations: 21.78 kB / 487.5 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.4274, allocations: 199.1 kB / 487.7 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.4274, allocations: 2.875 kB / 487.7 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4274, allocations: 0.5 kB / 487.7 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.4274, allocations: 10.92 kB / 487.7 MB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.4292, allocations: 0.757 MB / 488.5 MB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4292, allocations: 7.594 kB / 488.5 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.4296, allocations: 78.42 kB / 488.6 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4296, allocations: 5.375 kB / 488.6 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.4296, allocations: 13.67 kB / 488.6 MB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.4296, allocations: 7.094 kB / 488.6 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4296, allocations: 0 / 488.6 MB, free: 2.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.4312, allocations: 0.7076 MB / 489.3 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.4313, allocations: 125.8 kB / 489.4 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.4313, allocations: 6.938 kB / 489.4 MB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.4317, allocations: 22.97 kB / 489.5 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.4317, allocations: 26.56 kB / 489.5 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.4318, allocations: 16.56 kB / 489.5 MB, free: 1.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.774e-05/0.4319, allocations: 98.72 kB / 489.6 MB, free: 1.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4319, allocations: 0 / 489.6 MB, free: 1.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003356/0.4352, allocations: 0.9521 MB / 490.6 MB, free: 1.125 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006947/0.4422, allocations: 2.401 MB / 493 MB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.4432, allocations: 334.1 kB / 493.3 MB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4432, allocations: 0 / 493.3 MB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.4437, allocations: 174.1 kB / 493.5 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007417/0.4444, allocations: 106.3 kB / 493.6 MB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006759/0.4512, allocations: 3.145 MB / 496.7 MB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.4516, allocations: 0.7487 MB / 497.5 MB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003818/0.452, allocations: 86.59 kB / 497.5 MB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.4522, allocations: 70.16 kB / 497.6 MB, free: 11.97 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4522, allocations: 0 / 497.6 MB, free: 11.97 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07373/0.526, allocations: 32.56 MB / 0.5177 GB, free: 11.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.74/10.27, allocations: 4.062 kB / 0.5177 GB, free: 11.54 MB / 430.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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: 13.232755922712386]