Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 211.2 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.239/0.239, allocations: 46.95 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 75.86 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3454, allocations: 66.04 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1871/0.5325, allocations: 132.8 MB / 0.6907 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.5344, allocations: 1.305 MB / 0.692 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.5345, allocations: 0 / 0.692 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.5348, allocations: 47.75 kB / 0.6921 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002659/0.5374, allocations: 1.084 MB / 0.6931 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.358e-06/0.5374, allocations: 4 kB / 0.6931 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.5376, allocations: 67.64 kB / 0.6932 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.5376, allocations: 3.984 kB / 0.6932 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.325e-05/0.5377, allocations: 27.86 kB / 0.6932 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.726e-05/0.5377, allocations: 35.89 kB / 0.6933 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.246e-06/0.5377, allocations: 0 / 0.6933 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002866/0.5406, allocations: 1.649 MB / 0.6949 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.5407, allocations: 19.92 kB / 0.6949 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.5407, allocations: 23.91 kB / 0.6949 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.5421, allocations: 0.8806 MB / 0.6958 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5421, allocations: 0 / 0.6958 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5421, allocations: 0 / 0.6958 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.5421, allocations: 0 / 0.6958 GB, free: 9.707 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.000719/0.5428, allocations: 444.5 kB / 0.6962 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.5428, allocations: 8.031 kB / 0.6962 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.5429, allocations: 8.891 kB / 0.6962 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.543, allocations: 113.6 kB / 0.6963 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.543, allocations: 4 kB / 0.6963 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.543, allocations: 4 kB / 0.6963 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.5432, allocations: 93.64 kB / 0.6964 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.5432, allocations: 3.938 kB / 0.6964 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.5432, allocations: 0 / 0.6964 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.5432, allocations: 8 kB / 0.6964 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.5433, allocations: 71.89 kB / 0.6965 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.5437, allocations: 256.3 kB / 0.6967 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.187e-05/0.5438, allocations: 34.56 kB / 0.6968 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.5439, allocations: 20.92 kB / 0.6968 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.544, allocations: 27.98 kB / 0.6968 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.544, allocations: 38.55 kB / 0.6968 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 3.086e-06/0.544, allocations: 7.984 kB / 0.6969 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002045/0.5442, allocations: 65.62 kB / 0.6969 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.5443, allocations: 51.41 kB / 0.697 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.5444, allocations: 109.8 kB / 0.6971 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.5444, allocations: 29.69 kB / 0.6971 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.5444, allocations: 96.05 kB / 0.6972 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.5445, allocations: 23.78 kB / 0.6972 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.5445, allocations: 21.72 kB / 0.6972 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5446, allocations: 318.8 kB / 0.6975 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.5447, allocations: 15.94 kB / 0.6976 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.138e-05/0.5447, allocations: 35.42 kB / 0.6976 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.652e-05/0.5448, allocations: 59.36 kB / 0.6976 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5448, allocations: 0.5 kB / 0.6976 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001347/0.545, allocations: 77.69 kB / 0.6977 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.545, allocations: 11.94 kB / 0.6977 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.545, allocations: 3.984 kB / 0.6977 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.545, allocations: 0 / 0.6977 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.87e-05/0.5451, allocations: 16.09 kB / 0.6978 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.5451, allocations: 4 kB / 0.6978 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/0.5451, allocations: 7.953 kB / 0.6978 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.5451, allocations: 7.938 kB / 0.6978 GB, free: 7.453 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.514e-05/0.5452, allocations: 117.8 kB / 0.6979 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.5452, allocations: 3.938 kB / 0.6979 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.5454, allocations: 85.55 kB / 0.698 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.5454, allocations: 7.938 kB / 0.698 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5454, allocations: 4 kB / 0.698 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.5454, allocations: 0 / 0.698 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.5456, allocations: 113.3 kB / 0.6981 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5456, allocations: 0 / 0.6981 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.5456, allocations: 7.938 kB / 0.6981 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.5456, allocations: 4 kB / 0.6981 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.5456, allocations: 3.938 kB / 0.6981 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5456, allocations: 0 / 0.6981 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5456, allocations: 0 / 0.6981 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.5458, allocations: 163.5 kB / 0.6983 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.5458, allocations: 4 kB / 0.6983 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.5458, allocations: 3.938 kB / 0.6983 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.988e-05/0.5459, allocations: 4 kB / 0.6983 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.5459, allocations: 0 / 0.6983 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.5459, allocations: 7.984 kB / 0.6983 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.546, allocations: 87.41 kB / 0.6984 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.546, allocations: 0 / 0.6984 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005068/0.5465, allocations: 151.5 kB / 0.6985 GB, free: 6.637 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.0007396/0.5472, allocations: 334.4 kB / 0.6988 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.5473, allocations: 31.97 kB / 0.6989 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5473, allocations: 0 / 0.6989 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.451e-05/0.5474, allocations: 19.94 kB / 0.6989 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.5476, allocations: 7.984 kB / 0.6989 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.548, allocations: 168.9 kB / 0.699 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.537e-05/0.5481, allocations: 86.03 kB / 0.6991 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.541e-05/0.5482, allocations: 19.92 kB / 0.6991 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.5482, allocations: 11.44 kB / 0.6992 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/0.5482, allocations: 3.938 kB / 0.6992 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of Templates: time 0.007465/0.5557, allocations: 3.76 MB / 0.7028 GB, free: 2.176 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.541058432776481]