Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001899/0.001899, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002435/0.002435, allocations: 216 kB / 23.73 MB, free: 4.156 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 47.92 kB / 377.7 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2479, allocations: 53.35 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03344/0.2813, allocations: 24.03 MB / 455.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.2842, allocations: 2.017 MB / 457.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.136e-05/0.2843, allocations: 4 kB / 457.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.2847, allocations: 59.66 kB / 457.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.2851, allocations: 163 kB / 457.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0163/0.3014, allocations: 6.508 MB / 463.8 MB, free: 5.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005628/0.3019, allocations: 346.7 kB / 464.2 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.923e-05/0.302, allocations: 5.75 kB / 464.2 MB, free: 5.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.3023, allocations: 147.5 kB / 464.3 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.3025, allocations: 119.5 kB / 464.4 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.3026, allocations: 12 kB / 464.5 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01695/0.3195, allocations: 8.991 MB / 473.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.3197, allocations: 75.78 kB / 473.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.3198, allocations: 91.7 kB / 473.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.3299, allocations: 4.681 MB / 478.3 MB, free: 7.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3299, allocations: 4 kB / 478.3 MB, free: 7.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3299, allocations: 3.938 kB / 478.3 MB, free: 7.316 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3299, allocations: 4 kB / 478.3 MB, free: 7.312 MB / 382.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.003252/0.3332, allocations: 1.09 MB / 479.4 MB, free: 6.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3332, allocations: 12.03 kB / 479.4 MB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.242e-05/0.3333, allocations: 54.61 kB / 479.5 MB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.3334, allocations: 28.02 kB / 479.5 MB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.3337, allocations: 168.9 kB / 479.7 MB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3337, allocations: 8.328 kB / 479.7 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/0.3338, allocations: 23.95 kB / 479.7 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007762/0.3345, allocations: 392.2 kB / 480.1 MB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3346, allocations: 0 / 480.1 MB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.3346, allocations: 8 kB / 480.1 MB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.3346, allocations: 11.94 kB / 480.1 MB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008036/0.3354, allocations: 311.7 kB / 480.4 MB, free: 5.117 MB / 382.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.00148/0.3369, allocations: 0.6823 MB / 481.1 MB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.3376, allocations: 244.7 kB / 481.3 MB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.338, allocations: 129.6 kB / 481.4 MB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/0.3495, allocations: 2.69 MB / 484.1 MB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.3496, allocations: 42.5 kB / 484.2 MB, free: 1.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.244e-06/0.3496, allocations: 0 / 484.2 MB, free: 1.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002949/0.3525, allocations: 0.6979 MB / 484.9 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.3526, allocations: 88.98 kB / 485 MB, free: 452 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.3527, allocations: 149.7 kB / 485.1 MB, free: 292 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.3528, allocations: 33.7 kB / 485.1 MB, free: 252 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.3528, allocations: 112.9 kB / 485.2 MB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.353, allocations: 130.9 kB / 485.4 MB, free: 4 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.3531, allocations: 77.67 kB / 485.4 MB, free: 15.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3533, allocations: 330.8 kB / 485.8 MB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.3537, allocations: 139.9 kB / 485.9 MB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/0.3542, allocations: 207.6 kB / 486.1 MB, free: 15.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000961/0.3551, allocations: 361.2 kB / 486.5 MB, free: 14.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.3551, allocations: 4 kB / 486.5 MB, free: 14.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00119/0.3563, allocations: 417.2 kB / 486.9 MB, free: 14.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3564, allocations: 10.19 kB / 486.9 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.3564, allocations: 0 / 486.9 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3564, allocations: 7.938 kB / 486.9 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.3569, allocations: 91.88 kB / 487 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.3569, allocations: 12.16 kB / 487 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.3572, allocations: 27.86 kB / 487 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.3572, allocations: 20 kB / 487 MB, free: 14.26 MB / 398.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.0001663/0.3574, allocations: 141.8 kB / 487.2 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.3575, allocations: 23.84 kB / 487.2 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.358, allocations: 186.7 kB / 487.4 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.358, allocations: 4 kB / 487.4 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.358, allocations: 0 / 487.4 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.358, allocations: 3.984 kB / 487.4 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.3599, allocations: 0.7236 MB / 488.1 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3599, allocations: 3.938 kB / 488.1 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/0.3603, allocations: 79.89 kB / 488.2 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.3603, allocations: 12.08 kB / 488.2 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.3603, allocations: 15.98 kB / 488.2 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.371e-06/0.3603, allocations: 4 kB / 488.2 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3604, allocations: 0 / 488.2 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.362, allocations: 0.723 MB / 489 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.3621, allocations: 43.81 kB / 489 MB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.3622, allocations: 11.98 kB / 489 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.3625, allocations: 19.98 kB / 489 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.3626, allocations: 27.89 kB / 489.1 MB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.3626, allocations: 19.98 kB / 489.1 MB, free: 12.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.063e-05/0.3627, allocations: 114.1 kB / 489.2 MB, free: 12 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3627, allocations: 0 / 489.2 MB, free: 12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002449/0.3651, allocations: 0.9666 MB / 490.2 MB, free: 11.03 MB / 398.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.006203/0.3713, allocations: 2.4 MB / 492.6 MB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.3724, allocations: 343.8 kB / 492.9 MB, free: 8.254 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3724, allocations: 3.938 kB / 492.9 MB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004889/0.3729, allocations: 179.1 kB / 493.1 MB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000762/0.3736, allocations: 95.89 kB / 493.2 MB, free: 7.984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006397/0.38, allocations: 3.253 MB / 496.4 MB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.3802, allocations: 129.8 kB / 496.5 MB, free: 4.422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003556/0.3805, allocations: 86.38 kB / 496.6 MB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.3807, allocations: 71.41 kB / 496.7 MB, free: 4.27 MB / 398.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3807, allocations: 0 / 496.7 MB, free: 4.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07533/0.4561, allocations: 34.11 MB / 0.5184 GB, free: 2.344 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.99, allocations: 3.281 kB / 0.5184 GB, free: 2.344 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 15.958105551078916]