Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.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.0007978/0.0007978, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0008224/0.0008224, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8733/0.8733, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.343e-05, allocations: 3.125 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02916/0.02918, allocations: 24.01 MB / 348.5 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.0309, allocations: 2.017 MB / 350.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.03097, allocations: 0 / 350.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.03129, allocations: 63.55 kB / 350.6 MB, free: 5.699 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.03159, allocations: 174.9 kB / 350.8 MB, free: 5.527 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01078/0.04237, allocations: 6.566 MB / 357.3 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003969/0.04277, allocations: 350.4 kB / 357.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.04281, allocations: 9.812 kB / 357.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.04302, allocations: 187.5 kB / 357.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.04319, allocations: 115.7 kB / 358 MB, free: 14.31 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.04321, allocations: 12 kB / 358 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/0.05474, allocations: 9.009 MB / 367 MB, free: 5.277 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003931/0.05513, allocations: 71.84 kB / 367.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.05527, allocations: 79.83 kB / 367.2 MB, free: 5.129 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.06588, allocations: 5.901 MB / 373.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.06589, allocations: 0 / 373.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.06589, allocations: 0 / 373.1 MB, free: 15.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.0659, allocations: 4 kB / 373.1 MB, free: 15.21 MB / 346.7 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.00256/0.06846, allocations: 1.098 MB / 374.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.0685, allocations: 11.98 kB / 374.2 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/0.06855, allocations: 50.73 kB / 374.2 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.06867, allocations: 28.03 kB / 374.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.06914, allocations: 164.9 kB / 374.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.06915, allocations: 16.31 kB / 374.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.06919, allocations: 15.95 kB / 374.4 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.06974, allocations: 396.2 kB / 374.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.06976, allocations: 0 / 374.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.06979, allocations: 7.984 kB / 374.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.06981, allocations: 11.98 kB / 374.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004995/0.07031, allocations: 311.8 kB / 375.2 MB, free: 13.01 MB / 346.7 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.000992/0.0713, allocations: 0.694 MB / 375.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.07174, allocations: 241.1 kB / 376.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.07192, allocations: 125.6 kB / 376.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005347/0.07727, allocations: 2.686 MB / 378.9 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.0773, allocations: 38.56 kB / 378.9 MB, free: 9.145 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.964e-06/0.0773, allocations: 0 / 378.9 MB, free: 9.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001632/0.07893, allocations: 0.7064 MB / 379.6 MB, free: 8.434 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.07897, allocations: 85.11 kB / 379.7 MB, free: 8.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.07907, allocations: 145.7 kB / 379.9 MB, free: 8.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.07909, allocations: 29.7 kB / 379.9 MB, free: 8.145 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.07915, allocations: 116.9 kB / 380 MB, free: 8.027 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.07922, allocations: 126.9 kB / 380.1 MB, free: 7.902 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/0.0793, allocations: 77.59 kB / 380.2 MB, free: 7.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.07939, allocations: 326.8 kB / 380.5 MB, free: 7.492 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.0796, allocations: 143.9 kB / 380.7 MB, free: 7.352 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.07987, allocations: 207.6 kB / 380.9 MB, free: 7.121 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.08038, allocations: 362.4 kB / 381.2 MB, free: 6.742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.08038, allocations: 8 kB / 381.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008883/0.08127, allocations: 416.7 kB / 381.6 MB, free: 6.324 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.08129, allocations: 12.03 kB / 381.6 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.0813, allocations: 3.984 kB / 381.6 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.08132, allocations: 4 kB / 381.7 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.08155, allocations: 91.88 kB / 381.7 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.08156, allocations: 7.938 kB / 381.7 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.0817, allocations: 31.86 kB / 381.8 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.08172, allocations: 16 kB / 381.8 MB, free: 6.16 MB / 346.7 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.0001067/0.08183, allocations: 145.7 kB / 381.9 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.08191, allocations: 27.89 kB / 382 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.08221, allocations: 182.7 kB / 382.1 MB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.08222, allocations: 4 kB / 382.1 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.08223, allocations: 11.94 kB / 382.2 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.08223, allocations: 7.984 kB / 382.2 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.08325, allocations: 0.7115 MB / 382.9 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.08326, allocations: 0 / 382.9 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.08345, allocations: 79.89 kB / 383 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.08346, allocations: 4 kB / 383 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.08348, allocations: 11.98 kB / 383 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.08349, allocations: 4 kB / 383 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.08349, allocations: 0 / 383 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009119/0.0844, allocations: 0.7148 MB / 383.7 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.08449, allocations: 47.88 kB / 383.7 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.08452, allocations: 15.98 kB / 383.8 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.08469, allocations: 19.98 kB / 383.8 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.08472, allocations: 35.83 kB / 383.8 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.08474, allocations: 11.98 kB / 383.8 MB, free: 4.016 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.434e-05/0.0848, allocations: 110.2 kB / 383.9 MB, free: 3.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0848, allocations: 3.938 kB / 383.9 MB, free: 3.906 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002109/0.08691, allocations: 0.9705 MB / 384.9 MB, free: 2.934 MB / 346.7 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.004604/0.09151, allocations: 2.536 MB / 387.4 MB, free: 364 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007133/0.09223, allocations: 335.8 kB / 387.8 MB, free: 28 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.09223, allocations: 0 / 387.8 MB, free: 28 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.09251, allocations: 175.6 kB / 387.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/0.09302, allocations: 112 kB / 388 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/0.09808, allocations: 3.181 MB / 391.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.0982, allocations: 137.8 kB / 391.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002819/0.09848, allocations: 86.33 kB / 391.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.09863, allocations: 76.45 kB / 391.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of SimCode: time 1.372e-06/0.09863, allocations: 0 / 391.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05248/0.1511, allocations: 34.37 MB / 425.9 MB, free: 9.844 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/7.765, allocations: 2.969 kB / 425.9 MB, free: 9.844 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.064877429045737]