Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009756/0.0009756, allocations: 103.8 kB / 17.16 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 47.94 kB / 280.1 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08214/0.08321, allocations: 46.63 MB / 326.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03052/0.1138, allocations: 28.4 MB / 355.1 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.1165, allocations: 2.345 MB / 357.4 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.1165, allocations: 4 kB / 357.4 MB, free: 5.934 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.1169, allocations: 55.7 kB / 357.5 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1172, allocations: 151.2 kB / 357.6 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01314/0.1304, allocations: 5.027 MB / 362.7 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00048/0.1309, allocations: 478.4 kB / 363.1 MB, free: 224 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.1309, allocations: 8.906 kB / 363.2 MB, free: 212 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.1311, allocations: 123.5 kB / 363.3 MB, free: 88 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1313, allocations: 123.6 kB / 363.4 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.1314, allocations: 8 kB / 363.4 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01413/0.1455, allocations: 9.486 MB / 372.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.1457, allocations: 63.8 kB / 372.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.1459, allocations: 87.64 kB / 373 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.1559, allocations: 4.768 MB / 377.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.156, allocations: 0 / 377.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.156, allocations: 0 / 377.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.156, allocations: 0 / 377.8 MB, free: 1.531 MB / 318.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.002971/0.159, allocations: 1.096 MB / 378.9 MB, free: 396 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.159, allocations: 8.031 kB / 378.9 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.936e-05/0.1591, allocations: 54.73 kB / 379 MB, free: 324 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.1592, allocations: 36.23 kB / 379 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.1594, allocations: 214.8 kB / 379.2 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1595, allocations: 20.27 kB / 379.2 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.1595, allocations: 12 kB / 379.2 MB, free: 0 / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008454/0.3052, allocations: 285.1 kB / 379.5 MB, free: 53.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3053, allocations: 0 / 379.5 MB, free: 53.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.3053, allocations: 5.875 kB / 379.5 MB, free: 53.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.3053, allocations: 13.25 kB / 379.5 MB, free: 53.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000732/0.3061, allocations: 311.9 kB / 379.8 MB, free: 53.18 MB / 318.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.001327/0.3074, allocations: 0.8205 MB / 380.7 MB, free: 52.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.3081, allocations: 246 kB / 380.9 MB, free: 52.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.3084, allocations: 135.5 kB / 381 MB, free: 52.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01289/0.3213, allocations: 12.85 MB / 393.9 MB, free: 39.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3213, allocations: 46.19 kB / 393.9 MB, free: 39.74 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.863e-06/0.3213, allocations: 0 / 393.9 MB, free: 39.74 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002648/0.324, allocations: 0.6914 MB / 394.6 MB, free: 39.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.324, allocations: 81.86 kB / 394.7 MB, free: 39.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.525e-05/0.3241, allocations: 128.1 kB / 394.8 MB, free: 39.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.3242, allocations: 33.95 kB / 394.9 MB, free: 39.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.3242, allocations: 108.3 kB / 395 MB, free: 39.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/0.3243, allocations: 127.4 kB / 395.1 MB, free: 39.06 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.3244, allocations: 70.25 kB / 395.2 MB, free: 39.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.3245, allocations: 327.2 kB / 395.5 MB, free: 38.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.3248, allocations: 134.2 kB / 395.6 MB, free: 38.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.3253, allocations: 208.2 kB / 395.8 MB, free: 38.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008178/0.3261, allocations: 363 kB / 396.2 MB, free: 38.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3261, allocations: 0 / 396.2 MB, free: 38.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001054/0.3272, allocations: 421.4 kB / 396.6 MB, free: 38.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3272, allocations: 7.062 kB / 396.6 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3272, allocations: 2.188 kB / 396.6 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3272, allocations: 7.406 kB / 396.6 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.3277, allocations: 90.89 kB / 396.7 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3277, allocations: 10.61 kB / 396.7 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.328, allocations: 32.89 kB / 396.7 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.3281, allocations: 24.17 kB / 396.7 MB, free: 38.17 MB / 318.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.0001074/0.3282, allocations: 143.7 kB / 396.9 MB, free: 38.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.3283, allocations: 18.31 kB / 396.9 MB, free: 38.03 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.3288, allocations: 188.9 kB / 397.1 MB, free: 37.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3288, allocations: 7.969 kB / 397.1 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3288, allocations: 1.062 kB / 397.1 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3288, allocations: 3.188 kB / 397.1 MB, free: 37.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.3303, allocations: 0.7657 MB / 397.9 MB, free: 37.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3303, allocations: 5.531 kB / 397.9 MB, free: 37.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.3307, allocations: 82.28 kB / 398 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3307, allocations: 6.312 kB / 398 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.3308, allocations: 13.05 kB / 398 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3308, allocations: 3.688 kB / 398 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3308, allocations: 6.531 kB / 398 MB, free: 37.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.3321, allocations: 0.6992 MB / 398.7 MB, free: 37.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-05/0.3322, allocations: 124.1 kB / 398.8 MB, free: 36.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.3322, allocations: 8.125 kB / 398.8 MB, free: 36.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.3326, allocations: 21.78 kB / 398.8 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.3326, allocations: 35.91 kB / 398.9 MB, free: 36.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.3327, allocations: 22.81 kB / 398.9 MB, free: 36.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.222e-05/0.3327, allocations: 96.12 kB / 399 MB, free: 36.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3327, allocations: 0 / 399 MB, free: 36.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00246/0.3352, allocations: 0.9294 MB / 399.9 MB, free: 36.7 MB / 318.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.004757/0.3399, allocations: 2.404 MB / 402.3 MB, free: 35.65 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008299/0.3408, allocations: 341.1 kB / 402.6 MB, free: 35.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3408, allocations: 1.406 kB / 402.6 MB, free: 35.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003938/0.3412, allocations: 180.2 kB / 402.8 MB, free: 35.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/0.3419, allocations: 91.55 kB / 402.9 MB, free: 35.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/0.3463, allocations: 3.199 MB / 406.1 MB, free: 33.11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.3465, allocations: 0.7399 MB / 406.9 MB, free: 32.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003932/0.3469, allocations: 95.19 kB / 406.9 MB, free: 32.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.347, allocations: 66.47 kB / 407 MB, free: 32.3 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.347, allocations: 0 / 407 MB, free: 32.3 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/0.3912, allocations: 33.58 MB / 440.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.3914, allocations: 233.5 kB / 440.8 MB, free: 1.215 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.864/3.256, allocations: 3.938 kB / 440.8 MB, free: 1.211 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches