Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001236/0.001236, allocations: 120.2 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 214.2 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.5 MB / 254.7 MB, free: 14.82 MB / 206.1 MB " [Timeout remaining time 178] 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.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 59.91 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09552/0.09744, allocations: 53.38 MB / 427.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3696/0.467, allocations: 154.9 MB / 0.5683 GB, free: 5.281 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.4691, allocations: 1.613 MB / 0.5699 GB, free: 3.664 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.4693, allocations: 0 / 0.5699 GB, free: 3.664 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.4696, allocations: 67.58 kB / 0.5699 GB, free: 3.598 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004607/0.4701, allocations: 171 kB / 0.5701 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.4731, allocations: 1.044 MB / 0.5711 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004912/0.4736, allocations: 354.6 kB / 0.5715 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.4736, allocations: 9.562 kB / 0.5715 GB, free: 2.039 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000324/0.4739, allocations: 171.4 kB / 0.5716 GB, free: 1.871 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.4742, allocations: 139.5 kB / 0.5718 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.4742, allocations: 12 kB / 0.5718 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.4772, allocations: 1.665 MB / 0.5734 GB, free: 56 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.4773, allocations: 63.92 kB / 0.5735 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.4775, allocations: 115.4 kB / 0.5736 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.4795, allocations: 1.03 MB / 0.5746 GB, free: 14.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4795, allocations: 0 / 0.5746 GB, free: 14.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4795, allocations: 0 / 0.5746 GB, free: 14.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.4795, allocations: 0 / 0.5746 GB, free: 14.85 MB / 494.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.001939/0.4815, allocations: 0.7121 MB / 0.5753 GB, free: 14.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4815, allocations: 8.031 kB / 0.5753 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.346e-05/0.4815, allocations: 4.516 kB / 0.5753 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.803e-05/0.4816, allocations: 58.73 kB / 0.5754 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.4817, allocations: 21.03 kB / 0.5754 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.482, allocations: 226.8 kB / 0.5756 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.482, allocations: 12.94 kB / 0.5756 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.4821, allocations: 23.95 kB / 0.5756 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005997/0.4827, allocations: 257.5 kB / 0.5759 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.4827, allocations: 4 kB / 0.5759 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.4827, allocations: 4 kB / 0.5759 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.4828, allocations: 11.94 kB / 0.5759 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007045/0.4835, allocations: 267.7 kB / 0.5761 GB, free: 13.15 MB / 494.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.00156/0.485, allocations: 0.7933 MB / 0.5769 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006776/0.4857, allocations: 215 kB / 0.5771 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.486, allocations: 125.9 kB / 0.5772 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003783/0.4864, allocations: 360.3 kB / 0.5776 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.4865, allocations: 34.56 kB / 0.5776 GB, free: 11.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 2.054e-06/0.4865, allocations: 4 kB / 0.5776 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=36): time 0.002654/0.4891, allocations: 0.6816 MB / 0.5783 GB, free: 10.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.4892, allocations: 81.11 kB / 0.5784 GB, free: 10.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.4893, allocations: 147 kB / 0.5785 GB, free: 10.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.4893, allocations: 33.7 kB / 0.5785 GB, free: 10.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.4894, allocations: 116.9 kB / 0.5786 GB, free: 10.35 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.4895, allocations: 130.8 kB / 0.5788 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.4897, allocations: 69.64 kB / 0.5788 GB, free: 10.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4898, allocations: 334.8 kB / 0.5792 GB, free: 9.812 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004079/0.4902, allocations: 127.9 kB / 0.5793 GB, free: 9.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.4907, allocations: 207.6 kB / 0.5795 GB, free: 9.457 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/0.4916, allocations: 360.2 kB / 0.5798 GB, free: 9.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4916, allocations: 0 / 0.5798 GB, free: 9.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001078/0.4927, allocations: 417 kB / 0.5802 GB, free: 8.668 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4927, allocations: 4 kB / 0.5802 GB, free: 8.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.4927, allocations: 7.938 kB / 0.5802 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4927, allocations: 4 kB / 0.5802 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.4932, allocations: 83.88 kB / 0.5803 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.4932, allocations: 13.48 kB / 0.5803 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.4935, allocations: 29.91 kB / 0.5804 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.4936, allocations: 15.98 kB / 0.5804 GB, free: 8.516 MB / 494.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.0001534/0.4937, allocations: 141.7 kB / 0.5805 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.98e-05/0.4938, allocations: 19.91 kB / 0.5805 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.4942, allocations: 180.6 kB / 0.5807 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.4942, allocations: 4 kB / 0.5807 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.4942, allocations: 7.938 kB / 0.5807 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.4942, allocations: 3.984 kB / 0.5807 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.4961, allocations: 0.7774 MB / 0.5815 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4961, allocations: 0 / 0.5815 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004701/0.4966, allocations: 83.88 kB / 0.5816 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.4966, allocations: 0 / 0.5816 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.4966, allocations: 8 kB / 0.5816 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.4966, allocations: 4 kB / 0.5816 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.4966, allocations: 4.875 kB / 0.5816 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.4981, allocations: 0.7178 MB / 0.5823 GB, free: 6.449 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.4983, allocations: 128.9 kB / 0.5824 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.4983, allocations: 8 kB / 0.5824 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.4987, allocations: 23.97 kB / 0.5824 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.4987, allocations: 24.03 kB / 0.5824 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.4988, allocations: 19.94 kB / 0.5825 GB, free: 6.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.384e-05/0.4989, allocations: 109.4 kB / 0.5826 GB, free: 6.125 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4989, allocations: 3.938 kB / 0.5826 GB, free: 6.121 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006367/0.4995, allocations: 155.7 kB / 0.5827 GB, free: 5.969 MB / 494.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 (38): * Single equations (assignments): 38 * 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.002248/0.5017, allocations: 1.394 MB / 0.5841 GB, free: 4.535 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009359/0.5027, allocations: 335.4 kB / 0.5844 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5027, allocations: 0 / 0.5844 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.5031, allocations: 167.7 kB / 0.5846 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007327/0.5039, allocations: 101.4 kB / 0.5847 GB, free: 3.953 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/0.5089, allocations: 2.939 MB / 0.5875 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.5093, allocations: 0.7452 MB / 0.5883 GB, free: 80 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003174/0.5096, allocations: 70.25 kB / 0.5883 GB, free: 8 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.5098, allocations: 67.48 kB / 0.5884 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of SimCode: time 1.021e-06/0.5098, allocations: 4 kB / 0.5884 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.5409, allocations: 8.657 MB / 0.5968 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.272/8.813, allocations: 11.98 kB / 0.5969 GB, free: 7.367 MB / 0.4981 GB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.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: 11.283354872022755]