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.001276/0.001276, allocations: 114 kB / 20.43 MB, free: 1.457 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.001478/0.001478, allocations: 214 kB / 23.74 MB, free: 4.672 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.385/1.385, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.002079/0.002079, allocations: 67.89 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2512, allocations: 53.4 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03365/0.2848, allocations: 26.88 MB / 458.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.2878, allocations: 2.251 MB / 460.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.2878, allocations: 7.938 kB / 460.3 MB, free: 9.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.2882, allocations: 59.64 kB / 460.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.2886, allocations: 171 kB / 460.5 MB, free: 9.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01577/0.3043, allocations: 6.601 MB / 467.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005387/0.3049, allocations: 338.6 kB / 467.5 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.421e-05/0.3049, allocations: 9.75 kB / 467.5 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.3052, allocations: 143.6 kB / 467.6 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.3054, allocations: 143.4 kB / 467.8 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.3054, allocations: 8 kB / 467.8 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01815/0.3236, allocations: 9.704 MB / 477.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.3237, allocations: 67.84 kB / 477.5 MB, free: 8.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.3239, allocations: 111.5 kB / 477.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.334, allocations: 4.74 MB / 482.4 MB, free: 3.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.334, allocations: 0 / 482.4 MB, free: 3.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3341, allocations: 0 / 482.4 MB, free: 3.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.3341, 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.003316/0.3374, allocations: 1.109 MB / 483.5 MB, free: 2.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3374, allocations: 8.031 kB / 483.5 MB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.52e-05/0.3375, allocations: 50.73 kB / 483.6 MB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.3376, allocations: 32.03 kB / 483.6 MB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.3379, allocations: 168.9 kB / 483.8 MB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.338, allocations: 12.33 kB / 483.8 MB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.338, allocations: 19.95 kB / 483.8 MB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007442/0.3388, allocations: 289.4 kB / 484.1 MB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3388, allocations: 0 / 484.1 MB, free: 1.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.3388, allocations: 12 kB / 484.1 MB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.3388, allocations: 7.938 kB / 484.1 MB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007988/0.3396, allocations: 311.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.001532/0.3412, allocations: 0.8004 MB / 485.2 MB, free: 412 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/0.3419, allocations: 245.1 kB / 485.4 MB, free: 148 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.3422, allocations: 129.6 kB / 485.6 MB, free: 12 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/0.3535, allocations: 2.671 MB / 488.2 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.3535, allocations: 30.56 kB / 488.3 MB, free: 13.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.964e-06/0.3535, allocations: 3.938 kB / 488.3 MB, free: 13.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002822/0.3563, allocations: 0.711 MB / 489 MB, free: 12.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.3564, allocations: 81.11 kB / 489.1 MB, free: 12.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3565, allocations: 144.6 kB / 489.2 MB, free: 12.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.3566, allocations: 33.7 kB / 489.2 MB, free: 12.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.3567, allocations: 116.9 kB / 489.3 MB, free: 12.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.3568, allocations: 134.8 kB / 489.5 MB, free: 12.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.3569, allocations: 73.62 kB / 489.6 MB, free: 11.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3571, allocations: 330.8 kB / 489.9 MB, free: 11.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.3574, allocations: 139.9 kB / 490 MB, free: 11.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.3579, allocations: 207.6 kB / 490.2 MB, free: 11.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009366/0.3589, allocations: 363 kB / 490.6 MB, free: 10.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3589, allocations: 4 kB / 490.6 MB, free: 10.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001211/0.3601, allocations: 424.1 kB / 491 MB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3601, allocations: 8 kB / 491 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3601, allocations: 0 / 491 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3601, allocations: 7.938 kB / 491 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.3606, allocations: 91.88 kB / 491.1 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.3606, allocations: 4 kB / 491.1 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.3609, allocations: 32.2 kB / 491.1 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.361, allocations: 15.98 kB / 491.1 MB, free: 10.31 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.0001531/0.3611, allocations: 145.7 kB / 491.3 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.3613, allocations: 27.8 kB / 491.3 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.3617, allocations: 197.9 kB / 491.5 MB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.3617, allocations: 4 kB / 491.5 MB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3617, allocations: 0 / 491.5 MB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3617, allocations: 0 / 491.5 MB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.3635, allocations: 0.7587 MB / 492.3 MB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3635, allocations: 4.156 kB / 492.3 MB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004325/0.364, allocations: 75.88 kB / 492.3 MB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.364, allocations: 4 kB / 492.3 MB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.364, allocations: 15.98 kB / 492.4 MB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.364, allocations: 0 / 492.4 MB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.364, allocations: 4 kB / 492.4 MB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.3656, allocations: 0.7301 MB / 493.1 MB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.3657, allocations: 39.86 kB / 493.1 MB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.3658, allocations: 8 kB / 493.1 MB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.3661, allocations: 19.98 kB / 493.2 MB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.3662, allocations: 35.89 kB / 493.2 MB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.3662, allocations: 19.98 kB / 493.2 MB, free: 8.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.3663, allocations: 118 kB / 493.3 MB, free: 8.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3663, allocations: 0 / 493.3 MB, free: 8.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003014/0.3694, allocations: 0.9589 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.006622/0.376, allocations: 2.404 MB / 496.7 MB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.377, allocations: 332 kB / 497 MB, free: 4.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.377, allocations: 4 kB / 497 MB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004607/0.3774, allocations: 170.2 kB / 497.2 MB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007189/0.3782, allocations: 100.1 kB / 497.3 MB, free: 4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006483/0.3847, allocations: 3.25 MB / 0.4888 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.385, allocations: 0.7413 MB / 0.4895 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003344/0.3854, allocations: 86.33 kB / 0.4896 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.3856, allocations: 79.39 kB / 0.4897 GB, free: 15.66 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3856, allocations: 0 / 0.4897 GB, free: 15.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07447/0.4601, allocations: 33.45 MB / 0.5224 GB, free: 14.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.55, allocations: 6.75 kB / 0.5224 GB, free: 14.29 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 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.mat","/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: 15.672947143903002]