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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00146/0.00146, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 59.91 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2238, allocations: 50.56 MB / 408.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03174/0.2556, allocations: 26.63 MB / 435.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002839/0.2585, allocations: 2.239 MB / 437.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/0.2586, allocations: 0 / 437.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.2589, allocations: 67.58 kB / 437.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.2593, allocations: 163 kB / 437.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01502/0.2743, allocations: 6.524 MB / 444.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005019/0.2748, allocations: 338.7 kB / 444.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.2749, allocations: 9.562 kB / 444.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.2751, allocations: 139.5 kB / 444.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.2754, allocations: 131.5 kB / 445.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/0.2754, allocations: 12 kB / 445.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01656/0.292, allocations: 9.53 MB / 454.6 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.2921, allocations: 67.8 kB / 454.7 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.2923, allocations: 103.6 kB / 454.8 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009188/0.3015, allocations: 4.744 MB / 459.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3015, allocations: 0 / 459.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3016, allocations: 0 / 459.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3016, allocations: 0 / 459.5 MB, free: 14.62 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.003277/0.3048, allocations: 1.183 MB / 460.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3049, allocations: 11.97 kB / 460.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.097e-05/0.305, allocations: 50.73 kB / 460.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.3051, allocations: 24.03 kB / 460.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.3054, allocations: 222.8 kB / 461 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3054, allocations: 8.328 kB / 461 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.3055, allocations: 27.94 kB / 461 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007129/0.3062, allocations: 285.5 kB / 461.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3062, allocations: 0 / 461.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.3063, allocations: 8 kB / 461.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.3063, allocations: 7.938 kB / 461.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008047/0.3071, allocations: 315.7 kB / 461.6 MB, free: 12.38 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.001451/0.3085, allocations: 0.8206 MB / 462.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007385/0.3093, allocations: 261.1 kB / 462.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.3096, allocations: 133.6 kB / 462.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01607/0.3257, allocations: 12.83 MB / 475.7 MB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.3258, allocations: 38.48 kB / 475.7 MB, free: 11.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.415e-06/0.3258, allocations: 0 / 475.7 MB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002851/0.3287, allocations: 0.7057 MB / 476.4 MB, free: 10.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.3287, allocations: 89.05 kB / 476.5 MB, free: 10.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.3289, allocations: 141.8 kB / 476.6 MB, free: 10.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.3289, allocations: 37.7 kB / 476.7 MB, free: 10.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/0.329, allocations: 112.9 kB / 476.8 MB, free: 10.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.3291, allocations: 146.8 kB / 476.9 MB, free: 10.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.3292, allocations: 65.64 kB / 477 MB, free: 10.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3294, allocations: 338.8 kB / 477.3 MB, free: 10.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/0.3298, allocations: 131.9 kB / 477.5 MB, free: 9.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.3303, allocations: 203.6 kB / 477.7 MB, free: 9.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009436/0.3312, allocations: 367.5 kB / 478 MB, free: 9.266 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3312, allocations: 3.938 kB / 478 MB, free: 9.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001201/0.3324, allocations: 420.7 kB / 478.4 MB, free: 8.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3325, allocations: 7.125 kB / 478.4 MB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3325, allocations: 4 kB / 478.4 MB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3325, allocations: 7.938 kB / 478.4 MB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.333, allocations: 91.81 kB / 478.5 MB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.333, allocations: 4 kB / 478.5 MB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.3333, allocations: 36.14 kB / 478.6 MB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.3333, allocations: 12 kB / 478.6 MB, free: 8.691 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.0001572/0.3335, allocations: 149.6 kB / 478.7 MB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.3336, allocations: 19.91 kB / 478.8 MB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.3341, allocations: 194.6 kB / 478.9 MB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.3341, allocations: 8 kB / 479 MB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3341, allocations: 0 / 479 MB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3341, allocations: 7.984 kB / 479 MB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.3358, allocations: 0.7713 MB / 479.7 MB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3358, allocations: 160 / 479.7 MB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.3363, allocations: 91.81 kB / 479.8 MB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3363, allocations: 0 / 479.8 MB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.3363, allocations: 12 kB / 479.8 MB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3363, allocations: 7.938 kB / 479.8 MB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3363, allocations: 0 / 479.8 MB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.3379, allocations: 0.722 MB / 480.6 MB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.338, allocations: 124.9 kB / 480.7 MB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.3381, allocations: 8 kB / 480.7 MB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.3384, allocations: 19.98 kB / 480.7 MB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.3385, allocations: 31.97 kB / 480.7 MB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.3385, allocations: 19.98 kB / 480.8 MB, free: 6.383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.084e-05/0.3386, allocations: 114 kB / 480.9 MB, free: 6.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.964e-06/0.3386, allocations: 0 / 480.9 MB, free: 6.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002371/0.341, allocations: 0.9627 MB / 481.8 MB, free: 5.309 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.005582/0.3466, allocations: 2.427 MB / 484.3 MB, free: 2.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.3476, allocations: 348.7 kB / 484.6 MB, free: 2.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.3476, allocations: 4 kB / 484.6 MB, free: 2.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.3481, allocations: 175.7 kB / 484.8 MB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.3489, allocations: 114.5 kB / 484.9 MB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005928/0.3548, allocations: 3.251 MB / 488.1 MB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.3552, allocations: 0.7413 MB / 488.9 MB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003443/0.3556, allocations: 82.34 kB / 489 MB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.3558, allocations: 83.38 kB / 489 MB, free: 13.88 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3558, allocations: 0 / 489 MB, free: 13.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06529/0.4211, allocations: 33.06 MB / 0.5099 GB, free: 12.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.413/9.834, allocations: 3.859 kB / 0.5099 GB, free: 12.9 MB / 446.1 MB (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 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) 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) Reference file matches