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.001296/0.001296, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001401/0.001401, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.366/1.366, allocations: 230.6 MB / 258.3 MB, free: 8.004 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 47.94 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2452, allocations: 53.36 MB / 431.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03356/0.2788, allocations: 26.88 MB / 458.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003008/0.2818, allocations: 2.259 MB / 461.1 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.2819, allocations: 3.938 kB / 461.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.2823, allocations: 63.64 kB / 461.1 MB, free: 9.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004241/0.2827, allocations: 171 kB / 461.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01643/0.2991, allocations: 6.585 MB / 467.9 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005093/0.2996, allocations: 342.6 kB / 468.2 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.2997, allocations: 9.75 kB / 468.2 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000339/0.3, allocations: 143.5 kB / 468.4 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.3003, allocations: 135.5 kB / 468.5 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.3003, allocations: 12 kB / 468.5 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0178/0.3181, allocations: 9.703 MB / 478.2 MB, free: 8.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.3182, allocations: 71.8 kB / 478.3 MB, free: 8.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.3184, allocations: 103.5 kB / 478.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.3288, allocations: 4.74 MB / 483.1 MB, free: 3.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3288, allocations: 4 kB / 483.1 MB, free: 3.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.3288, allocations: 3.984 kB / 483.1 MB, free: 3.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.3288, allocations: 0 / 483.1 MB, free: 3.504 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.003499/0.3323, allocations: 1.102 MB / 484.2 MB, free: 2.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.3324, allocations: 12.03 kB / 484.2 MB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.749e-05/0.3324, allocations: 12.45 kB / 484.3 MB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.664e-05/0.3324, allocations: 50.73 kB / 484.3 MB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.3326, allocations: 27.84 kB / 484.3 MB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.3329, allocations: 164.9 kB / 484.5 MB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3329, allocations: 12.31 kB / 484.5 MB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.333, allocations: 19.95 kB / 484.5 MB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007694/0.3337, allocations: 297.3 kB / 484.8 MB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3337, allocations: 0 / 484.8 MB, free: 1.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.3338, allocations: 11.94 kB / 484.8 MB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.3338, allocations: 4 kB / 484.8 MB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008295/0.3346, allocations: 311.8 kB / 485.1 MB, free: 1.414 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.001514/0.3361, allocations: 0.8004 MB / 485.9 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007543/0.3369, allocations: 241.1 kB / 486.2 MB, free: 292 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.3372, allocations: 129.6 kB / 486.3 MB, free: 156 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/0.3485, allocations: 2.667 MB / 489 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.3486, allocations: 46.5 kB / 489 MB, free: 13.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.064e-06/0.3486, allocations: 0 / 489 MB, free: 13.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00292/0.3515, allocations: 0.6984 MB / 489.7 MB, free: 12.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.3516, allocations: 81.11 kB / 489.8 MB, free: 12.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3517, allocations: 148.9 kB / 489.9 MB, free: 12.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.3517, allocations: 33.7 kB / 490 MB, free: 12.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.3518, allocations: 116.9 kB / 490.1 MB, free: 12.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.352, allocations: 130.8 kB / 490.2 MB, free: 12.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3521, allocations: 73.62 kB / 490.3 MB, free: 12.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3522, allocations: 334.8 kB / 490.6 MB, free: 11.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.3526, allocations: 139.9 kB / 490.7 MB, free: 11.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000508/0.3532, allocations: 207.5 kB / 490.9 MB, free: 11.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009769/0.3541, allocations: 369.3 kB / 491.3 MB, free: 11.03 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3541, allocations: 4 kB / 491.3 MB, free: 11.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001213/0.3553, allocations: 426.4 kB / 491.7 MB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3554, allocations: 8 kB / 491.7 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3554, allocations: 3.938 kB / 491.7 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.3554, allocations: 4 kB / 491.7 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.3559, allocations: 92.09 kB / 491.8 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3559, allocations: 4 kB / 491.8 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.3562, allocations: 31.92 kB / 491.9 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.3562, allocations: 12 kB / 491.9 MB, free: 10.45 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.0001799/0.3564, allocations: 153.6 kB / 492 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.3565, allocations: 23.89 kB / 492.1 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.357, allocations: 194.7 kB / 492.2 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.357, allocations: 4 kB / 492.2 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.357, allocations: 0 / 492.2 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.357, allocations: 0 / 492.2 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.3589, allocations: 0.7626 MB / 493 MB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3589, allocations: 0 / 493 MB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/0.3593, allocations: 75.88 kB / 493.1 MB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.3593, allocations: 4 kB / 493.1 MB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.3593, allocations: 15.98 kB / 493.1 MB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3593, allocations: 4 kB / 493.1 MB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.3593, allocations: 7.938 kB / 493.1 MB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.361, allocations: 0.726 MB / 493.8 MB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.3611, allocations: 39.86 kB / 493.9 MB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.3611, allocations: 8 kB / 493.9 MB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.3615, allocations: 32.03 kB / 493.9 MB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.3615, allocations: 23.84 kB / 493.9 MB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/0.3616, allocations: 19.98 kB / 494 MB, free: 8.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.515e-05/0.3617, allocations: 111.2 kB / 494.1 MB, free: 8.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3617, allocations: 4 kB / 494.1 MB, free: 8.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002964/0.3646, allocations: 0.955 MB / 495 MB, free: 7.18 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.006447/0.3711, allocations: 2.418 MB / 497.4 MB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.3721, allocations: 338.4 kB / 497.8 MB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.3721, allocations: 0 / 497.8 MB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.3726, allocations: 163.8 kB / 497.9 MB, free: 4.227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.3733, allocations: 104.1 kB / 498 MB, free: 4.125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006285/0.3796, allocations: 3.246 MB / 0.4895 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.38, allocations: 0.7374 MB / 0.4903 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003451/0.3803, allocations: 86.38 kB / 0.4903 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.3805, allocations: 79.39 kB / 0.4904 GB, free: 15.79 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3805, allocations: 0 / 0.4904 GB, free: 15.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0693/0.4498, allocations: 33.5 MB / 0.5231 GB, free: 14.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.84, allocations: 4.062 kB / 0.5231 GB, free: 14.45 MB / 446.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 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.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_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: 16.933743172034156]