Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 183.7 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 47.92 kB / 370.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.231, allocations: 52.18 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03328/0.2642, allocations: 26.68 MB / 449.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003038/0.2673, allocations: 2.254 MB / 451.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.2674, allocations: 0 / 451.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.2677, allocations: 67.64 kB / 451.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004236/0.2682, allocations: 155.1 kB / 451.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01543/0.2836, allocations: 6.563 MB / 458.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.2841, allocations: 314.9 kB / 458.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.2841, allocations: 13.3 kB / 458.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.2843, allocations: 135.5 kB / 458.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.2846, allocations: 127.6 kB / 458.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.2846, allocations: 8 kB / 458.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01616/0.3007, allocations: 9.682 MB / 468.6 MB, free: 496 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.3009, allocations: 79.7 kB / 468.7 MB, free: 416 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.301, allocations: 95.66 kB / 468.8 MB, free: 320 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009538/0.3106, allocations: 4.708 MB / 473.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3106, allocations: 7.938 kB / 473.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3106, allocations: 0 / 473.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3106, allocations: 0 / 473.5 MB, free: 11.59 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.003064/0.3136, allocations: 1.071 MB / 474.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3137, allocations: 12.02 kB / 474.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/0.3137, allocations: 58.73 kB / 474.6 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.3139, allocations: 24.41 kB / 474.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.3141, allocations: 153 kB / 474.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3141, allocations: 16.33 kB / 474.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.3142, allocations: 12 kB / 474.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.3149, allocations: 297.3 kB / 475.1 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.3149, allocations: 0 / 475.1 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.3149, allocations: 8 kB / 475.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.3149, allocations: 8 kB / 475.1 MB, free: 9.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007996/0.3157, allocations: 315.7 kB / 475.4 MB, free: 9.547 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.001399/0.3171, allocations: 0.7884 MB / 476.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006734/0.3178, allocations: 241.1 kB / 476.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.3181, allocations: 125.6 kB / 476.6 MB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/0.3294, allocations: 2.687 MB / 479.3 MB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.3294, allocations: 34.56 kB / 479.3 MB, free: 5.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.714e-06/0.3294, allocations: 0 / 479.3 MB, free: 5.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002738/0.3321, allocations: 0.6951 MB / 480 MB, free: 4.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.3322, allocations: 81.11 kB / 480.1 MB, free: 4.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3323, allocations: 130 kB / 480.2 MB, free: 4.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.3324, allocations: 33.7 kB / 480.2 MB, free: 4.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.3324, allocations: 108.9 kB / 480.3 MB, free: 4.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.3325, allocations: 134.8 kB / 480.5 MB, free: 4.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.3327, allocations: 73.64 kB / 480.5 MB, free: 4.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3328, allocations: 330.8 kB / 480.9 MB, free: 3.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.3332, allocations: 135.9 kB / 481 MB, free: 3.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.3337, allocations: 211.5 kB / 481.2 MB, free: 3.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008914/0.3345, allocations: 367 kB / 481.6 MB, free: 3.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3346, allocations: 8 kB / 481.6 MB, free: 3.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001125/0.3357, allocations: 417.3 kB / 482 MB, free: 2.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3357, allocations: 4 kB / 482 MB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.3357, allocations: 4 kB / 482 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3357, allocations: 4 kB / 482 MB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004581/0.3362, allocations: 95.75 kB / 482.1 MB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3362, allocations: 4 kB / 482.1 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.3365, allocations: 19.98 kB / 482.1 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.3365, allocations: 20.05 kB / 482.1 MB, free: 2.629 MB / 382.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.0001477/0.3367, allocations: 153.6 kB / 482.3 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.3368, allocations: 19.91 kB / 482.3 MB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.3373, allocations: 189.8 kB / 482.5 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3373, allocations: 7.938 kB / 482.5 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3373, allocations: 0 / 482.5 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.3373, allocations: 0 / 482.5 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.3389, allocations: 0.7352 MB / 483.2 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3389, allocations: 0 / 483.2 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.3393, allocations: 88.03 kB / 483.3 MB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3393, allocations: 0 / 483.3 MB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.3394, allocations: 16 kB / 483.3 MB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.3394, allocations: 7.984 kB / 483.3 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3394, allocations: 0 / 483.3 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.3408, allocations: 0.6994 MB / 484 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.341, allocations: 47.83 kB / 484.1 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.341, allocations: 11.98 kB / 484.1 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.3413, allocations: 19.98 kB / 484.1 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.3414, allocations: 31.83 kB / 484.1 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.3414, allocations: 27.98 kB / 484.2 MB, free: 480 kB / 382.1 MB Notification: Performance of sorting global known variables: time 6.948e-05/0.3415, allocations: 91.27 kB / 484.3 MB, free: 388 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3415, allocations: 0 / 484.3 MB, free: 388 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.002548/0.344, allocations: 0.9511 MB / 485.2 MB, free: 15.43 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.006116/0.3501, allocations: 2.404 MB / 487.6 MB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.3512, allocations: 333.4 kB / 487.9 MB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3512, allocations: 8 kB / 488 MB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004448/0.3516, allocations: 171.6 kB / 488.1 MB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007001/0.3523, allocations: 96.16 kB / 488.2 MB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006115/0.3584, allocations: 3.146 MB / 491.4 MB, free: 9.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.3588, allocations: 0.7371 MB / 492.1 MB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003796/0.3592, allocations: 89.98 kB / 492.2 MB, free: 8.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.3594, allocations: 63.41 kB / 492.2 MB, free: 8.168 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3594, allocations: 0 / 492.2 MB, free: 8.168 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07077/0.4302, allocations: 32.93 MB / 0.5129 GB, free: 7.379 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.31, allocations: 5.609 kB / 0.5129 GB, free: 7.379 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 15.424434927059337]