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.00171/0.00171, allocations: 110 kB / 18.49 MB, free: 4.543 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.002067/0.002067, allocations: 198.6 kB / 21.43 MB, free: 1.609 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.377/1.377, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 51.92 kB / 366.3 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09311/0.09458, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0329/0.1275, allocations: 26.55 MB / 445 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1835/0.311, allocations: 2.229 MB / 447.3 MB, free: 7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.3111, allocations: 1.438 kB / 447.3 MB, free: 7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.3115, allocations: 70.28 kB / 447.3 MB, free: 7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.3118, allocations: 155.4 kB / 447.5 MB, free: 7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01491/0.3267, allocations: 6.516 MB / 454 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.3272, allocations: 314.8 kB / 454.3 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.3272, allocations: 7.531 kB / 454.3 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.3274, allocations: 136.8 kB / 454.4 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.3276, allocations: 123.5 kB / 454.6 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.3277, allocations: 10.59 kB / 454.6 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01927/0.3469, allocations: 9.628 MB / 464.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.3471, allocations: 70.05 kB / 464.3 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.3474, allocations: 92.89 kB / 464.4 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.3584, allocations: 4.716 MB / 469.1 MB, free: 5.105 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3584, allocations: 1.094 kB / 469.1 MB, free: 5.105 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3584, allocations: 4.984 kB / 469.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.3584, allocations: 0 / 469.1 MB, free: 5.102 MB / 366.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.003898/0.3623, allocations: 1.155 MB / 470.2 MB, free: 4.277 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3623, allocations: 9.938 kB / 470.2 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.038e-05/0.3624, allocations: 8.703 kB / 470.3 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.891e-05/0.3624, allocations: 51.98 kB / 470.3 MB, free: 4.234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.3626, allocations: 22.39 kB / 470.3 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.3628, allocations: 219.5 kB / 470.5 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3628, allocations: 13.05 kB / 470.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.3628, allocations: 17 kB / 470.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006605/0.3635, allocations: 286.9 kB / 470.9 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.3635, allocations: 1.062 kB / 470.9 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.3635, allocations: 10.34 kB / 470.9 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.3636, allocations: 9.609 kB / 470.9 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007272/0.3643, allocations: 309.5 kB / 471.2 MB, free: 3.746 MB / 366.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.001228/0.3655, allocations: 0.8255 MB / 472 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.3662, allocations: 249 kB / 472.2 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.3665, allocations: 131.2 kB / 472.4 MB, free: 2.809 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01593/0.3824, allocations: 12.85 MB / 485.2 MB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.3824, allocations: 35.91 kB / 485.3 MB, free: 4.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.605e-06/0.3824, allocations: 7.094 kB / 485.3 MB, free: 4.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002918/0.3853, allocations: 0.6861 MB / 485.9 MB, free: 4.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.3854, allocations: 84.7 kB / 486 MB, free: 4.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.3855, allocations: 132.1 kB / 486.2 MB, free: 4.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.3856, allocations: 34.94 kB / 486.2 MB, free: 4.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.3856, allocations: 109.2 kB / 486.3 MB, free: 4.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.3858, allocations: 130.4 kB / 486.4 MB, free: 4.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.3859, allocations: 72.23 kB / 486.5 MB, free: 3.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.386, allocations: 328.5 kB / 486.8 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.3864, allocations: 136.5 kB / 487 MB, free: 3.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.3869, allocations: 216.5 kB / 487.2 MB, free: 3.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009243/0.3878, allocations: 360.5 kB / 487.5 MB, free: 3.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3878, allocations: 0 / 487.5 MB, free: 3.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001126/0.389, allocations: 418.6 kB / 487.9 MB, free: 3.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.389, allocations: 6.469 kB / 487.9 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.389, allocations: 3.438 kB / 487.9 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.389, allocations: 3.703 kB / 487.9 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.3895, allocations: 87.91 kB / 488 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3895, allocations: 3.422 kB / 488 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.3898, allocations: 36.69 kB / 488.1 MB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.3898, allocations: 12.94 kB / 488.1 MB, free: 2.988 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.0001601/0.39, allocations: 148 kB / 488.2 MB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.3901, allocations: 19.66 kB / 488.2 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.3906, allocations: 195.8 kB / 488.4 MB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3906, allocations: 2.594 kB / 488.4 MB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3906, allocations: 2.625 kB / 488.4 MB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3906, allocations: 3.984 kB / 488.4 MB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.3924, allocations: 0.7709 MB / 489.2 MB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.3924, allocations: 2.75 kB / 489.2 MB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.3928, allocations: 76.75 kB / 489.3 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.3928, allocations: 7.422 kB / 489.3 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.3928, allocations: 12.28 kB / 489.3 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3928, allocations: 5.625 kB / 489.3 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3928, allocations: 3.984 kB / 489.3 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.3944, allocations: 0.7083 MB / 490 MB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.3946, allocations: 122.9 kB / 490.1 MB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.3946, allocations: 9.969 kB / 490.2 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.395, allocations: 26.78 kB / 490.2 MB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.395, allocations: 26.69 kB / 490.2 MB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.3951, allocations: 13.98 kB / 490.2 MB, free: 1.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.367e-05/0.3951, allocations: 105 kB / 490.3 MB, free: 1.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3951, allocations: 0 / 490.3 MB, free: 1.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003567/0.3987, allocations: 0.9488 MB / 491.3 MB, free: 1.133 MB / 382.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.007792/0.4065, allocations: 2.403 MB / 493.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.4076, allocations: 339.4 kB / 494 MB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4076, allocations: 0 / 494 MB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.4081, allocations: 166 kB / 494.2 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000739/0.4088, allocations: 101.1 kB / 494.3 MB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007492/0.4163, allocations: 3.151 MB / 497.4 MB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.4167, allocations: 0.737 MB / 498.2 MB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003832/0.4171, allocations: 89.05 kB / 498.2 MB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.4173, allocations: 71.41 kB / 498.3 MB, free: 11.97 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4173, allocations: 0 / 498.3 MB, free: 11.97 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06278/0.48, allocations: 32.59 MB / 0.5185 GB, free: 11.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.507/9.987, allocations: 10.44 kB / 0.5185 GB, free: 11.54 MB / 430.1 MB " [Timeout remaining time 650] (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: 14.05444441997679]