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.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.005706/0.005706, allocations: 101.3 kB / 21.96 MB, free: 5.207 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.001623/0.001623, allocations: 217.5 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 179] 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.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_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 61.8 kB / 348 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.233, allocations: 49.15 MB / 397.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0274/0.2605, allocations: 23.97 MB / 421.1 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.2632, allocations: 1.998 MB / 423.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.682e-05/0.2633, allocations: 0.8438 kB / 423.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.2636, allocations: 55.62 kB / 423.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.264, allocations: 151.8 kB / 423.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01637/0.2804, allocations: 6.178 MB / 429.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.2808, allocations: 312.9 kB / 429.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.2809, allocations: 5.562 kB / 429.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.2811, allocations: 141.5 kB / 429.9 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.2813, allocations: 127.5 kB / 430 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.2814, allocations: 12 kB / 430.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01633/0.2977, allocations: 9.155 MB / 439.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.2978, allocations: 75.77 kB / 439.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.298, allocations: 79.72 kB / 439.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.3086, allocations: 4.638 MB / 444 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3086, allocations: 0 / 444 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3086, allocations: 0 / 444 MB, free: 4.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3086, allocations: 0 / 444 MB, free: 4.18 MB / 350.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.003117/0.3118, allocations: 1.055 MB / 445.1 MB, free: 3.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3118, allocations: 15.98 kB / 445.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.599e-05/0.3118, allocations: 8.516 kB / 445.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.564e-05/0.3119, allocations: 46.73 kB / 445.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.312, allocations: 28.2 kB / 445.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.3123, allocations: 153.1 kB / 445.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.3123, allocations: 8.328 kB / 445.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.3123, allocations: 16 kB / 445.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007703/0.3131, allocations: 396.2 kB / 445.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3131, allocations: 0 / 445.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.3131, allocations: 11.94 kB / 445.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.3131, allocations: 11.88 kB / 445.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007751/0.3139, allocations: 323.7 kB / 446.1 MB, free: 2.02 MB / 350.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.001393/0.3153, allocations: 0.6859 MB / 446.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/0.316, allocations: 241.2 kB / 447 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.3163, allocations: 129.6 kB / 447.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01143/0.3277, allocations: 2.698 MB / 449.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.3278, allocations: 34.56 kB / 449.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.404e-06/0.3278, allocations: 0 / 449.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.00281/0.3306, allocations: 0.7036 MB / 450.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.3306, allocations: 81.11 kB / 450.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.3308, allocations: 121.8 kB / 450.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.3308, allocations: 37.7 kB / 450.8 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.3309, allocations: 108.9 kB / 450.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.331, allocations: 126.9 kB / 451 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.3311, allocations: 73.56 kB / 451.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3313, allocations: 330.8 kB / 451.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.3316, allocations: 139.9 kB / 451.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.3321, allocations: 203.5 kB / 451.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009241/0.333, allocations: 364 kB / 452.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.333, allocations: 0 / 452.1 MB, free: 11.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001175/0.3342, allocations: 417.3 kB / 452.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3342, allocations: 8 kB / 452.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3342, allocations: 224 / 452.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3342, allocations: 11.94 kB / 452.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/0.3347, allocations: 91.86 kB / 452.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3347, allocations: 4 kB / 452.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.335, allocations: 27.88 kB / 452.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.3351, allocations: 19.98 kB / 452.7 MB, free: 11.2 MB / 366.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.0001496/0.3352, allocations: 145.7 kB / 452.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.3354, allocations: 27.89 kB / 452.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/0.3358, allocations: 182.4 kB / 453 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.3358, allocations: 7.984 kB / 453 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3359, allocations: 0 / 453 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3359, allocations: 4 kB / 453 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.3375, allocations: 0.7121 MB / 453.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3375, allocations: 0 / 453.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/0.3379, allocations: 79.88 kB / 453.8 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.3379, allocations: 4 kB / 453.8 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.338, allocations: 15.98 kB / 453.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.338, allocations: 0 / 453.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.338, allocations: 7.938 kB / 453.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.3395, allocations: 0.7186 MB / 454.6 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.3396, allocations: 39.86 kB / 454.6 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.3397, allocations: 8 kB / 454.6 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.34, allocations: 28.05 kB / 454.6 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.3401, allocations: 23.89 kB / 454.6 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.3401, allocations: 19.98 kB / 454.7 MB, free: 9.082 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.031e-05/0.3402, allocations: 95.27 kB / 454.8 MB, free: 8.988 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3402, allocations: 0 / 454.8 MB, free: 8.988 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002598/0.3428, allocations: 0.9432 MB / 455.7 MB, free: 8.043 MB / 366.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.00607/0.3488, allocations: 2.417 MB / 458.1 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3499, allocations: 335.9 kB / 458.4 MB, free: 5.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.3499, allocations: 4 kB / 458.5 MB, free: 5.246 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004669/0.3504, allocations: 167.7 kB / 458.6 MB, free: 5.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007134/0.3511, allocations: 96.16 kB / 458.7 MB, free: 4.988 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006106/0.3572, allocations: 3.147 MB / 461.9 MB, free: 1.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.3573, allocations: 124.7 kB / 462 MB, free: 1.523 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003476/0.3577, allocations: 89.97 kB / 462.1 MB, free: 1.438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.3578, allocations: 67.41 kB / 462.1 MB, free: 1.371 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3578, allocations: 0 / 462.1 MB, free: 1.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07005/0.4279, allocations: 34.7 MB / 496.8 MB, free: 14.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.51, allocations: 4.062 kB / 496.8 MB, free: 14.56 MB / 414.1 MB " [Timeout remaining time 647] (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 --stepSize=0.00019992 --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) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.45855904603377]