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.001362/0.001362, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001432/0.001432, allocations: 184.4 kB / 23.72 MB, free: 4.699 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.401/1.401, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.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.001576/0.001576, allocations: 47.92 kB / 370.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2322, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03491/0.2671, allocations: 26.67 MB / 449.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.2703, allocations: 2.246 MB / 451.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.2704, allocations: 0 / 451.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.2708, allocations: 75.64 kB / 451.6 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.2712, allocations: 151.1 kB / 451.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0167/0.2879, allocations: 6.56 MB / 458.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004845/0.2884, allocations: 318.8 kB / 458.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.2885, allocations: 13.3 kB / 458.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.2887, allocations: 143.5 kB / 458.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.2889, allocations: 123.6 kB / 458.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.289, allocations: 12 kB / 458.9 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01748/0.3064, allocations: 9.674 MB / 468.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.3066, allocations: 71.78 kB / 468.7 MB, free: 472 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.3068, allocations: 95.64 kB / 468.8 MB, free: 376 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.3178, allocations: 4.712 MB / 473.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3179, allocations: 4 kB / 473.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3179, allocations: 4 kB / 473.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3179, allocations: 0 / 473.5 MB, free: 11.64 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.003641/0.3215, allocations: 1.067 MB / 474.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.3216, allocations: 12.03 kB / 474.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.779e-05/0.3216, allocations: 50.73 kB / 474.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.3218, allocations: 28.39 kB / 474.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.3221, allocations: 164.9 kB / 474.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.3221, allocations: 8.328 kB / 474.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.3221, allocations: 16 kB / 474.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000735/0.3229, allocations: 293.4 kB / 475.1 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3229, allocations: 0 / 475.1 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.3229, allocations: 8 kB / 475.1 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.3229, allocations: 4 kB / 475.1 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008002/0.3237, allocations: 319.6 kB / 475.4 MB, free: 9.602 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.001581/0.3253, allocations: 0.7846 MB / 476.2 MB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007428/0.3261, allocations: 245.1 kB / 476.5 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.3264, allocations: 125.6 kB / 476.6 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01161/0.338, allocations: 2.694 MB / 479.3 MB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.338, allocations: 38.5 kB / 479.3 MB, free: 5.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.004e-06/0.338, allocations: 0 / 479.3 MB, free: 5.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002883/0.3409, allocations: 0.6881 MB / 480 MB, free: 4.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.341, allocations: 81.11 kB / 480.1 MB, free: 4.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3411, allocations: 130 kB / 480.2 MB, free: 4.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.3411, allocations: 33.7 kB / 480.2 MB, free: 4.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.3412, allocations: 108.9 kB / 480.4 MB, free: 4.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.3413, allocations: 130.8 kB / 480.5 MB, free: 4.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.3415, allocations: 77.62 kB / 480.6 MB, free: 4.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.3416, allocations: 330.8 kB / 480.9 MB, free: 3.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.342, allocations: 135.9 kB / 481 MB, free: 3.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005121/0.3425, allocations: 215.5 kB / 481.2 MB, free: 3.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009576/0.3435, allocations: 370.8 kB / 481.6 MB, free: 3.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3435, allocations: 4 kB / 481.6 MB, free: 3.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001166/0.3446, allocations: 413.3 kB / 482 MB, free: 2.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.3447, allocations: 12.03 kB / 482 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.3447, allocations: 0 / 482 MB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.3447, allocations: 4 kB / 482 MB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005/0.3452, allocations: 87.81 kB / 482.1 MB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.3452, allocations: 7.938 kB / 482.1 MB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.3455, allocations: 23.98 kB / 482.1 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.3456, allocations: 15.98 kB / 482.1 MB, free: 2.68 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.0001676/0.3457, allocations: 149.7 kB / 482.3 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.3459, allocations: 19.91 kB / 482.3 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.3464, allocations: 186.1 kB / 482.5 MB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.3464, allocations: 7.938 kB / 482.5 MB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3464, allocations: 4 kB / 482.5 MB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3464, allocations: 4 kB / 482.5 MB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.3481, allocations: 0.7352 MB / 483.2 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.3481, allocations: 4 kB / 483.2 MB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.3486, allocations: 80.03 kB / 483.3 MB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.007e-05/0.3486, allocations: 4 kB / 483.3 MB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.3486, allocations: 8 kB / 483.3 MB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.3486, allocations: 4 kB / 483.3 MB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3486, allocations: 0 / 483.3 MB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.3502, allocations: 0.7033 MB / 484 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.3504, allocations: 47.83 kB / 484.1 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.3504, allocations: 19.97 kB / 484.1 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.3508, allocations: 23.92 kB / 484.1 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.3508, allocations: 35.77 kB / 484.2 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.3509, allocations: 20.05 kB / 484.2 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.432e-05/0.3509, allocations: 99.27 kB / 484.3 MB, free: 432 kB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3509, allocations: 0 / 484.3 MB, free: 432 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.00267/0.3536, allocations: 0.9472 MB / 485.2 MB, free: 15.47 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.007103/0.3607, allocations: 2.401 MB / 487.6 MB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.3619, allocations: 335.8 kB / 488 MB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.3619, allocations: 4 kB / 488 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.3624, allocations: 171.6 kB / 488.1 MB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007832/0.3631, allocations: 92.09 kB / 488.2 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/0.3697, allocations: 3.153 MB / 491.4 MB, free: 9.133 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.3701, allocations: 0.7332 MB / 492.1 MB, free: 8.375 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003719/0.3705, allocations: 89.98 kB / 492.2 MB, free: 8.285 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.3707, allocations: 71.41 kB / 492.3 MB, free: 8.215 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3707, allocations: 0 / 492.3 MB, free: 8.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07358/0.4443, allocations: 32.92 MB / 0.5129 GB, free: 7.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.78, allocations: 6.984 kB / 0.5129 GB, free: 7.426 MB / 430.1 MB " [Timeout remaining time 647] (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: 15.71740348199819]