Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.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.001226/0.001226, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001325/0.001325, allocations: 210.9 kB / 24.51 MB, free: 3.941 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.387/1.387, allocations: 230.5 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 46.95 MB / 361.6 MB, free: 3.949 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 76.16 kB / 0.4969 GB, free: 7.594 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3357, allocations: 66.09 MB / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1741/0.5098, allocations: 132.7 MB / 0.691 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.5117, allocations: 1.304 MB / 0.6923 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.5118, allocations: 0 / 0.6923 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.5121, allocations: 43.75 kB / 0.6923 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003006/0.5152, allocations: 1.087 MB / 0.6934 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.578e-06/0.5152, allocations: 4 kB / 0.6934 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.5153, allocations: 67.64 kB / 0.6935 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.5153, allocations: 0 / 0.6935 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.936e-05/0.5154, allocations: 27.91 kB / 0.6935 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.441e-05/0.5155, allocations: 39.84 kB / 0.6935 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.5155, allocations: 0 / 0.6935 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.5182, allocations: 1.653 MB / 0.6951 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.5183, allocations: 15.92 kB / 0.6952 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.5183, allocations: 19.92 kB / 0.6952 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.5198, allocations: 0.8845 MB / 0.696 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5198, allocations: 0 / 0.696 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5198, allocations: 0 / 0.696 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.5198, allocations: 0 / 0.696 GB, free: 9.844 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007568/0.5205, allocations: 448.5 kB / 0.6965 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5206, allocations: 8.031 kB / 0.6965 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.417e-05/0.5206, allocations: 192 / 0.6965 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.5206, allocations: 38.75 kB / 0.6965 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.5206, allocations: 4.891 kB / 0.6965 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.5208, allocations: 113.3 kB / 0.6966 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.5208, allocations: 4 kB / 0.6966 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.5208, allocations: 4 kB / 0.6966 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.521, allocations: 89.64 kB / 0.6967 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.521, allocations: 0 / 0.6967 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.521, allocations: 4 kB / 0.6967 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.852e-05/0.521, allocations: 8 kB / 0.6967 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.5211, allocations: 75.83 kB / 0.6968 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.5216, allocations: 287.8 kB / 0.6971 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.967e-05/0.5217, allocations: 38.56 kB / 0.6971 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/0.5217, allocations: 20.91 kB / 0.6971 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.5219, allocations: 31.98 kB / 0.6972 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.5219, allocations: 34.5 kB / 0.6972 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.5219, allocations: 0 / 0.6972 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002005/0.5221, allocations: 61.69 kB / 0.6973 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.5222, allocations: 67.33 kB / 0.6973 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.896e-05/0.5222, allocations: 97.86 kB / 0.6974 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.5223, allocations: 29.7 kB / 0.6974 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.5223, allocations: 96.03 kB / 0.6975 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.5223, allocations: 15.84 kB / 0.6975 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.5224, allocations: 29.66 kB / 0.6976 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5225, allocations: 314.8 kB / 0.6979 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.5226, allocations: 11.98 kB / 0.6979 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.425e-05/0.5226, allocations: 39.38 kB / 0.6979 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.668e-05/0.5227, allocations: 59.42 kB / 0.698 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5227, allocations: 0 / 0.698 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001415/0.5228, allocations: 85.48 kB / 0.6981 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.5228, allocations: 4 kB / 0.6981 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.5229, allocations: 0 / 0.6981 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.5229, allocations: 4 kB / 0.6981 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.5229, allocations: 15.98 kB / 0.6981 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.523, allocations: 4 kB / 0.6981 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.523, allocations: 0.6562 kB / 0.6981 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.523, allocations: 8.109 kB / 0.6981 GB, free: 7.516 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 9.418e-05/0.5231, allocations: 123 kB / 0.6982 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.5231, allocations: 11.89 kB / 0.6982 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.5233, allocations: 81.48 kB / 0.6983 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.5233, allocations: 4 kB / 0.6983 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5233, allocations: 0 / 0.6983 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5233, allocations: 4 kB / 0.6983 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.5235, allocations: 144.7 kB / 0.6985 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5235, allocations: 0 / 0.6985 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-05/0.5235, allocations: 4 kB / 0.6985 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5235, allocations: 4 kB / 0.6985 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.5235, allocations: 0 / 0.6985 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5235, allocations: 3.984 kB / 0.6985 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5235, allocations: 3.938 kB / 0.6985 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.5237, allocations: 171.4 kB / 0.6986 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-06/0.5237, allocations: 0 / 0.6986 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.5237, allocations: 0 / 0.6986 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.93e-05/0.5238, allocations: 8 kB / 0.6986 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.5238, allocations: 0 / 0.6986 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.5238, allocations: 4 kB / 0.6986 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.456e-05/0.5238, allocations: 87.27 kB / 0.6987 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5238, allocations: 0 / 0.6987 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004859/0.5243, allocations: 151.5 kB / 0.6989 GB, free: 6.652 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 4 * Array equations: 1 * 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.001124/0.5254, allocations: 0.919 MB / 0.6998 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.5256, allocations: 47.92 kB / 0.6998 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5256, allocations: 0 / 0.6998 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.998e-05/0.5256, allocations: 12 kB / 0.6998 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.5259, allocations: 7.984 kB / 0.6998 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006713/0.5266, allocations: 269.7 kB / 0.7001 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.418e-05/0.5266, allocations: 71.45 kB / 0.7002 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.418e-05/0.5267, allocations: 12 kB / 0.7002 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.5268, allocations: 31.42 kB / 0.7002 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.5268, allocations: 0 / 0.7002 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.5529, allocations: 5.234 MB / 0.7053 GB, free: 80 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.44, allocations: 4.062 kB / 0.7053 GB, free: 76 kB / 0.5294 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.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.469301657984033]