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.001372/0.001372, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001524/0.001524, allocations: 210.8 kB / 24.48 MB, free: 3.934 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.449/1.449, allocations: 230.5 MB / 258.1 MB, free: 7.773 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.2541/0.2541, allocations: 46.94 MB / 361.5 MB, free: 3.898 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: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002448/0.002448, allocations: 79.86 kB / 0.4974 GB, free: 7.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3348, allocations: 66.09 MB / 0.5619 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.174/0.5088, allocations: 132.8 MB / 0.6916 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002261/0.5111, allocations: 1.304 MB / 0.6929 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.5111, allocations: 0 / 0.6929 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.5115, allocations: 39.81 kB / 0.6929 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.5146, allocations: 1.089 MB / 0.694 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.36e-06/0.5146, allocations: 0 / 0.694 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.5148, allocations: 59.66 kB / 0.694 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.5148, allocations: 0 / 0.694 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.206e-05/0.5149, allocations: 35.84 kB / 0.6941 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.515, allocations: 27.91 kB / 0.6941 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.515, allocations: 0 / 0.6941 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003221/0.5182, allocations: 1.61 MB / 0.6956 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.5183, allocations: 15.98 kB / 0.6957 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.5183, allocations: 19.88 kB / 0.6957 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.5201, allocations: 0.8883 MB / 0.6966 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5201, allocations: 0 / 0.6966 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5201, allocations: 0 / 0.6966 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.5201, allocations: 0 / 0.6966 GB, free: 9.543 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.0008191/0.521, allocations: 440.5 kB / 0.697 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.521, allocations: 8.031 kB / 0.697 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.521, allocations: 12.89 kB / 0.697 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.5211, allocations: 113.7 kB / 0.6971 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.5212, allocations: 4 kB / 0.6971 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.5212, allocations: 4 kB / 0.6971 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.5213, allocations: 89.55 kB / 0.6972 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.5213, allocations: 0 / 0.6972 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.5214, allocations: 0 / 0.6972 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.5214, allocations: 11.98 kB / 0.6972 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.5215, allocations: 63.97 kB / 0.6973 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.522, allocations: 260.3 kB / 0.6975 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.999e-05/0.5221, allocations: 46.44 kB / 0.6976 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.5221, allocations: 20.97 kB / 0.6976 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.5223, allocations: 27.98 kB / 0.6976 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.5223, allocations: 34.56 kB / 0.6976 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.5223, allocations: 0 / 0.6976 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002164/0.5225, allocations: 69.61 kB / 0.6977 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.5226, allocations: 59.34 kB / 0.6978 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.218e-05/0.5227, allocations: 101.8 kB / 0.6979 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.5227, allocations: 29.7 kB / 0.6979 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.5228, allocations: 96.03 kB / 0.698 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.5228, allocations: 27.8 kB / 0.698 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.5228, allocations: 25.69 kB / 0.698 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.523, allocations: 314.8 kB / 0.6983 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.919e-05/0.523, allocations: 15.98 kB / 0.6983 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.34e-05/0.5231, allocations: 31.44 kB / 0.6984 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.894e-05/0.5232, allocations: 55.36 kB / 0.6984 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5232, allocations: 0 / 0.6984 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001446/0.5233, allocations: 85.61 kB / 0.6985 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5234, allocations: 11.94 kB / 0.6985 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5234, allocations: 0 / 0.6985 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.5234, allocations: 0 / 0.6985 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/0.5235, allocations: 19.92 kB / 0.6985 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.5235, allocations: 0 / 0.6985 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.5235, allocations: 7.953 kB / 0.6985 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.5235, allocations: 4 kB / 0.6986 GB, free: 7.301 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 8.774e-05/0.5236, allocations: 113.8 kB / 0.6987 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.5236, allocations: 4.5 kB / 0.6987 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.5238, allocations: 93.31 kB / 0.6988 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.5238, allocations: 0 / 0.6988 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.5238, allocations: 8.062 kB / 0.6988 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5238, allocations: 112 / 0.6988 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.524, allocations: 113.2 kB / 0.6989 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.524, allocations: 0 / 0.6989 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.524, allocations: 7.984 kB / 0.6989 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.524, allocations: 4 kB / 0.6989 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.524, allocations: 7.938 kB / 0.6989 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.5241, allocations: 0 / 0.6989 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5241, allocations: 160 / 0.6989 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.5242, allocations: 163.5 kB / 0.699 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.5242, allocations: 0 / 0.699 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.5243, allocations: 3.938 kB / 0.699 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.228e-05/0.5243, allocations: 4 kB / 0.6991 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.5243, allocations: 7.922 kB / 0.6991 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.5243, allocations: 4 kB / 0.6991 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.5244, allocations: 87.27 kB / 0.6991 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5244, allocations: 0 / 0.6991 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005233/0.5249, allocations: 151.5 kB / 0.6993 GB, free: 6.48 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.0008241/0.5257, allocations: 330.5 kB / 0.6996 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.5259, allocations: 35.92 kB / 0.6996 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5259, allocations: 0 / 0.6996 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-05/0.5259, allocations: 15.98 kB / 0.6997 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.5262, allocations: 16.69 kB / 0.6997 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.5267, allocations: 198.3 kB / 0.6999 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.377e-05/0.5267, allocations: 75.23 kB / 0.6999 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.5268, allocations: 15.42 kB / 0.6999 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.5268, allocations: 0 / 0.6999 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of Templates: time 0.00624/0.533, allocations: 3.207 MB / 0.7031 GB, free: 2.539 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] 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: 8.744581494946033]