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.001882/0.001882, allocations: 114 kB / 20.44 MB, free: 1.469 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.002316/0.002316, allocations: 214.1 kB / 23.74 MB, free: 4.695 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 8.02 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.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 0.00192/0.00192, allocations: 55.91 kB / 377.8 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2474, allocations: 53.43 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03537/0.2828, allocations: 26.87 MB / 458.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.286, allocations: 2.27 MB / 460.3 MB, free: 9.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.873e-05/0.2861, allocations: 7.938 kB / 460.3 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.2865, allocations: 63.64 kB / 460.4 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004305/0.2869, allocations: 163 kB / 460.6 MB, free: 9.227 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01694/0.3039, allocations: 6.588 MB / 467.1 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005591/0.3044, allocations: 342.7 kB / 467.5 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.3045, allocations: 5.75 kB / 467.5 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.3047, allocations: 143.5 kB / 467.6 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.305, allocations: 135.5 kB / 467.8 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.305, allocations: 12 kB / 467.8 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01842/0.3234, allocations: 9.701 MB / 477.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.3236, allocations: 79.77 kB / 477.5 MB, free: 8.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.3238, allocations: 103.6 kB / 477.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.335, allocations: 4.751 MB / 482.4 MB, free: 3.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.335, allocations: 0 / 482.4 MB, free: 3.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.335, allocations: 0 / 482.4 MB, free: 3.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.335, allocations: 0 / 482.4 MB, free: 3.363 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.00343/0.3385, allocations: 1.105 MB / 483.5 MB, free: 2.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3385, allocations: 8.031 kB / 483.5 MB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.382e-05/0.3386, allocations: 50.73 kB / 483.6 MB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.3387, allocations: 28.03 kB / 483.6 MB, free: 2.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.339, allocations: 164.9 kB / 483.7 MB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.339, allocations: 8.328 kB / 483.8 MB, free: 1.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.3391, allocations: 27.89 kB / 483.8 MB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007433/0.3398, allocations: 289.4 kB / 484.1 MB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.3399, allocations: 7.922 kB / 484.1 MB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.3399, allocations: 8 kB / 484.1 MB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.3399, allocations: 7.938 kB / 484.1 MB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008166/0.3407, allocations: 315.8 kB / 484.4 MB, free: 1.277 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.00164/0.3424, allocations: 0.7965 MB / 485.2 MB, free: 416 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/0.3431, allocations: 241.1 kB / 485.4 MB, free: 156 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.3434, allocations: 129.6 kB / 485.6 MB, free: 20 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/0.3551, allocations: 2.675 MB / 488.2 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.3551, allocations: 38.55 kB / 488.3 MB, free: 13.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.004e-06/0.3551, allocations: 0 / 488.3 MB, free: 13.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002958/0.3581, allocations: 0.7066 MB / 489 MB, free: 12.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.3581, allocations: 81.11 kB / 489.1 MB, free: 12.49 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.3583, allocations: 148.6 kB / 489.2 MB, free: 12.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.3583, allocations: 29.7 kB / 489.2 MB, free: 12.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.3584, allocations: 116.9 kB / 489.3 MB, free: 12.19 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.3586, allocations: 134.8 kB / 489.5 MB, free: 12.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.3587, allocations: 73.58 kB / 489.5 MB, free: 11.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3589, allocations: 338.8 kB / 489.9 MB, free: 11.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.3592, allocations: 135.9 kB / 490 MB, free: 11.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005052/0.3597, allocations: 215.5 kB / 490.2 MB, free: 11.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009445/0.3607, allocations: 359 kB / 490.6 MB, free: 10.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3607, allocations: 0 / 490.6 MB, free: 10.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001222/0.3619, allocations: 424.1 kB / 491 MB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.3619, allocations: 14.72 kB / 491 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.362, allocations: 4 kB / 491 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.362, allocations: 3.938 kB / 491 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.3625, allocations: 87.88 kB / 491.1 MB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.3625, allocations: 4 kB / 491.1 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.3628, allocations: 27.97 kB / 491.1 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.3628, allocations: 12 kB / 491.1 MB, free: 10.32 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.0002099/0.363, allocations: 149.7 kB / 491.3 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.3632, allocations: 23.86 kB / 491.3 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005204/0.3637, allocations: 194.6 kB / 491.5 MB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.3637, allocations: 8 kB / 491.5 MB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3637, allocations: 0 / 491.5 MB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.3637, allocations: 3.984 kB / 491.5 MB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.3656, allocations: 0.7509 MB / 492.3 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3656, allocations: 0 / 492.3 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/0.3661, allocations: 71.89 kB / 492.3 MB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.3661, allocations: 12.16 kB / 492.3 MB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.3661, allocations: 23.97 kB / 492.4 MB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3661, allocations: 0 / 492.4 MB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3661, allocations: 7.938 kB / 492.4 MB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.3677, allocations: 0.7262 MB / 493.1 MB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.3679, allocations: 39.86 kB / 493.1 MB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.3679, allocations: 12 kB / 493.1 MB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.3683, allocations: 23.97 kB / 493.2 MB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.3683, allocations: 31.83 kB / 493.2 MB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.3684, allocations: 15.98 kB / 493.2 MB, free: 8.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.427e-05/0.3685, allocations: 118 kB / 493.3 MB, free: 8.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3685, allocations: 0 / 493.3 MB, free: 8.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003073/0.3715, allocations: 0.9628 MB / 494.3 MB, free: 7.043 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.006461/0.378, allocations: 2.396 MB / 496.7 MB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.3791, allocations: 331.5 kB / 497 MB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.3791, allocations: 0 / 497 MB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.3796, allocations: 176.5 kB / 497.2 MB, free: 4.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007723/0.3804, allocations: 110.3 kB / 497.3 MB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00648/0.3869, allocations: 3.246 MB / 0.4888 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.3873, allocations: 0.7413 MB / 0.4895 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003584/0.3876, allocations: 90.31 kB / 0.4896 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.3878, allocations: 75.41 kB / 0.4897 GB, free: 15.66 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3878, allocations: 0 / 0.4897 GB, free: 15.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07667/0.4645, allocations: 33.45 MB / 0.5224 GB, free: 14.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.18, allocations: 9.875 kB / 0.5224 GB, free: 14.3 MB / 446.1 MB " [Timeout remaining time 647] (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/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_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: 16.31204312799673]