Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 104.6 kB / 21.22 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 186.5 kB / 24.52 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2624/0.2624, allocations: 44.92 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 67.89 kB / 497.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3756, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2054/0.581, allocations: 151.5 MB / 0.6967 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.5833, allocations: 1.336 MB / 0.698 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.5833, allocations: 0 / 0.698 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.5837, allocations: 43.8 kB / 0.6981 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003499/0.5872, allocations: 1.035 MB / 0.6991 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.171e-06/0.5872, allocations: 7.938 kB / 0.6991 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000145/0.5873, allocations: 51.72 kB / 0.6991 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.273e-05/0.5874, allocations: 6.797 kB / 0.6991 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.174e-05/0.5874, allocations: 23.92 kB / 0.6992 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.111e-05/0.5875, allocations: 27.91 kB / 0.6992 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.5875, allocations: 0 / 0.6992 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003516/0.591, allocations: 1.852 MB / 0.701 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.717e-05/0.5911, allocations: 23.91 kB / 0.701 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.5911, allocations: 11.94 kB / 0.701 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.5929, allocations: 0.8884 MB / 0.7019 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.5929, allocations: 0 / 0.7019 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5929, allocations: 0 / 0.7019 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.5929, allocations: 4 kB / 0.7019 GB, free: 2.078 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000817/0.5937, allocations: 427.1 kB / 0.7023 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.5937, allocations: 8.922 kB / 0.7023 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.5938, allocations: 4.938 kB / 0.7023 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.5939, allocations: 117.6 kB / 0.7024 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.5939, allocations: 4 kB / 0.7024 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.5939, allocations: 3.938 kB / 0.7024 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.5941, allocations: 77.66 kB / 0.7025 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.5941, allocations: 4 kB / 0.7025 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.5941, allocations: 0 / 0.7025 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.5942, allocations: 4 kB / 0.7025 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.5943, allocations: 59.91 kB / 0.7026 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.5948, allocations: 267.9 kB / 0.7028 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.004e-05/0.5949, allocations: 30.56 kB / 0.7029 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.5949, allocations: 8.859 kB / 0.7029 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.5951, allocations: 32.08 kB / 0.7029 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.5951, allocations: 42.42 kB / 0.7029 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.5951, allocations: 0 / 0.7029 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002331/0.5953, allocations: 57.64 kB / 0.703 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.5954, allocations: 51.41 kB / 0.703 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.5955, allocations: 97.97 kB / 0.7031 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.5955, allocations: 33.64 kB / 0.7032 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/0.5956, allocations: 99.95 kB / 0.7033 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.5956, allocations: 15.91 kB / 0.7033 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.5957, allocations: 21.7 kB / 0.7033 GB, free: 484 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5958, allocations: 318.8 kB / 0.7036 GB, free: 156 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.721e-05/0.5959, allocations: 4 kB / 0.7036 GB, free: 152 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.334e-05/0.5959, allocations: 39.36 kB / 0.7036 GB, free: 100 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.805e-05/0.596, allocations: 51.8 kB / 0.7037 GB, free: 36 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.596, allocations: 0 / 0.7037 GB, free: 36 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001482/0.5961, allocations: 73.75 kB / 0.7038 GB, free: 15.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.5962, allocations: 11.94 kB / 0.7038 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5962, allocations: 0 / 0.7038 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.5962, allocations: 0 / 0.7038 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/0.5963, allocations: 15.98 kB / 0.7038 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.5963, allocations: 4.25 kB / 0.7038 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.706e-05/0.5963, allocations: 11.89 kB / 0.7038 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.5964, allocations: 11.98 kB / 0.7038 GB, free: 15.9 MB / 0.545 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 (7): * Single equations (assignments): 7 * 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.0001124/0.5965, allocations: 117.7 kB / 0.7039 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.5965, allocations: 3.938 kB / 0.7039 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.5967, allocations: 73.3 kB / 0.704 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5967, allocations: 4 kB / 0.704 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5967, allocations: 4 kB / 0.704 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5967, allocations: 0 / 0.704 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.5969, allocations: 132.7 kB / 0.7041 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5969, allocations: 0 / 0.7041 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.5969, allocations: 8 kB / 0.7041 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.5969, allocations: 3.938 kB / 0.7042 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.5969, allocations: 0 / 0.7042 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.5969, allocations: 0 / 0.7042 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5969, allocations: 3.938 kB / 0.7042 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.5971, allocations: 147.5 kB / 0.7043 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.181e-05/0.5971, allocations: 19.88 kB / 0.7043 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.5971, allocations: 0 / 0.7043 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.571e-05/0.5972, allocations: 0 / 0.7043 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.5972, allocations: 0 / 0.7043 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.5972, allocations: 8 kB / 0.7043 GB, free: 15.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.429e-05/0.5972, allocations: 87.2 kB / 0.7044 GB, free: 15.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.5972, allocations: 0 / 0.7044 GB, free: 15.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005778/0.5978, allocations: 143.5 kB / 0.7045 GB, free: 15.08 MB / 0.545 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 (4): * Single equations (assignments): 4 * 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.0009604/0.5988, allocations: 319 kB / 0.7048 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.5989, allocations: 27.92 kB / 0.7049 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5989, allocations: 0 / 0.7049 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.462e-05/0.5989, allocations: 16.12 kB / 0.7049 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.5992, allocations: 11.98 kB / 0.7049 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.5996, allocations: 136.1 kB / 0.705 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.5999, allocations: 0.6873 MB / 0.7057 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.748e-05/0.6, allocations: 11.98 kB / 0.7057 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.6, allocations: 19.44 kB / 0.7057 GB, free: 13.81 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.6, allocations: 0 / 0.7057 GB, free: 13.81 MB / 0.545 GB Notification: Performance of Templates: time 0.007676/0.6077, allocations: 3.32 MB / 0.709 GB, free: 10.49 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.8070813389495015]