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.001422/0.001422, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001378/0.001378, allocations: 213.6 kB / 23.73 MB, free: 4.406 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.553/1.553, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.2671/0.2671, allocations: 46.94 MB / 360.8 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 179] 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.002547/0.002547, allocations: 79.81 kB / 0.4966 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.323, allocations: 66.08 MB / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1777/0.5007, allocations: 132.8 MB / 0.6908 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.5029, allocations: 1.297 MB / 0.6921 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.503, allocations: 0 / 0.6921 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.5034, allocations: 35.81 kB / 0.6921 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003291/0.5067, allocations: 1.099 MB / 0.6932 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.97e-06/0.5067, allocations: 3.938 kB / 0.6932 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.5068, allocations: 63.69 kB / 0.6933 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.5068, allocations: 7.938 kB / 0.6933 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.971e-05/0.5069, allocations: 27.92 kB / 0.6933 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.5e-05/0.507, allocations: 35.83 kB / 0.6933 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.277e-06/0.507, allocations: 0 / 0.6933 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.5101, allocations: 1.602 MB / 0.6949 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.5101, allocations: 15.92 kB / 0.6949 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.5102, allocations: 23.86 kB / 0.695 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.5116, allocations: 0.8845 MB / 0.6958 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5116, allocations: 0 / 0.6958 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5116, allocations: 0 / 0.6958 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.5116, allocations: 0 / 0.6958 GB, free: 9.574 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.0007345/0.5124, allocations: 436.5 kB / 0.6962 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.5124, allocations: 12.03 kB / 0.6962 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.5125, allocations: 4.891 kB / 0.6962 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.5126, allocations: 117.7 kB / 0.6964 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.5126, allocations: 7.984 kB / 0.6964 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.5126, allocations: 3.938 kB / 0.6964 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.5128, allocations: 89.64 kB / 0.6965 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.5128, allocations: 4 kB / 0.6965 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.5128, allocations: 0 / 0.6965 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.5128, allocations: 7.984 kB / 0.6965 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.5129, allocations: 63.97 kB / 0.6965 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.5134, allocations: 260.3 kB / 0.6968 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.307e-05/0.5135, allocations: 42.61 kB / 0.6968 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.5135, allocations: 12.98 kB / 0.6968 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.5137, allocations: 39.97 kB / 0.6969 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.5137, allocations: 34.56 kB / 0.6969 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.5137, allocations: 0 / 0.6969 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002066/0.5139, allocations: 73.56 kB / 0.697 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.5139, allocations: 55.41 kB / 0.697 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.204e-05/0.514, allocations: 105.8 kB / 0.6971 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.5141, allocations: 29.7 kB / 0.6972 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.5141, allocations: 96.03 kB / 0.6972 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.5141, allocations: 19.8 kB / 0.6973 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.5142, allocations: 21.72 kB / 0.6973 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5143, allocations: 318.8 kB / 0.6976 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.16e-05/0.5144, allocations: 12 kB / 0.6976 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.834e-05/0.5144, allocations: 43.36 kB / 0.6976 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.289e-05/0.5145, allocations: 55.36 kB / 0.6977 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5145, allocations: 0 / 0.6977 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001387/0.5146, allocations: 85.55 kB / 0.6978 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.5147, allocations: 7.938 kB / 0.6978 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5147, allocations: 4.094 kB / 0.6978 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.5147, allocations: 4 kB / 0.6978 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.5148, allocations: 8 kB / 0.6978 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5148, allocations: 4 kB / 0.6978 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.5148, allocations: 3.953 kB / 0.6978 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.5148, allocations: 7.984 kB / 0.6978 GB, free: 7.328 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.101e-05/0.5149, allocations: 113.8 kB / 0.6979 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.5149, allocations: 7.938 kB / 0.6979 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.5151, allocations: 89.84 kB / 0.698 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.5151, allocations: 0 / 0.698 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5151, allocations: 0 / 0.698 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.5151, allocations: 0 / 0.698 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.5153, allocations: 109.4 kB / 0.6981 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5153, allocations: 4 kB / 0.6981 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.5153, allocations: 8 kB / 0.6981 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5153, allocations: 0 / 0.6981 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.5153, allocations: 11.88 kB / 0.6981 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5153, allocations: 3.984 kB / 0.6981 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5153, allocations: 4 kB / 0.6982 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.5155, allocations: 159.4 kB / 0.6983 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.5155, allocations: 4 kB / 0.6983 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.5155, allocations: 3.938 kB / 0.6983 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.909e-05/0.5156, allocations: 0 / 0.6983 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.5156, allocations: 7.984 kB / 0.6983 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.5156, allocations: 0 / 0.6983 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.947e-05/0.5156, allocations: 87.28 kB / 0.6984 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5156, allocations: 0 / 0.6984 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005219/0.5162, allocations: 155.4 kB / 0.6985 GB, free: 6.512 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.0007869/0.517, allocations: 334.7 kB / 0.6989 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.5171, allocations: 31.92 kB / 0.6989 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5171, allocations: 4 kB / 0.6989 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.839e-05/0.5171, allocations: 15.94 kB / 0.6989 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.5174, allocations: 12.48 kB / 0.6989 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.5179, allocations: 172.8 kB / 0.6991 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.061e-05/0.5179, allocations: 79.22 kB / 0.6992 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.983e-05/0.518, allocations: 12 kB / 0.6992 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.518, allocations: 19.42 kB / 0.6992 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.518, allocations: 0 / 0.6992 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of Templates: time 0.008173/0.5262, allocations: 3.737 MB / 0.7028 GB, free: 2.066 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/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: 5.516334677115083]