Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001527/0.001527, allocations: 105 kB / 20.44 MB, free: 1.504 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.00167/0.00167, allocations: 217.3 kB / 23.76 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2039/0.2039, allocations: 44.24 MB / 331 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 71.89 kB / 468.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1111, allocations: 61.02 MB / 0.5173 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3819/0.493, allocations: 152.7 MB / 0.6665 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.4947, allocations: 1.221 MB / 0.6677 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.4948, allocations: 0 / 0.6677 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.4951, allocations: 39.86 kB / 0.6677 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002457/0.4975, allocations: 0.8942 MB / 0.6686 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.829e-06/0.4975, allocations: 0 / 0.6686 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.4976, allocations: 47.72 kB / 0.6686 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.4977, allocations: 4 kB / 0.6687 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.602e-05/0.4977, allocations: 15.92 kB / 0.6687 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.337e-05/0.4978, allocations: 31.84 kB / 0.6687 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.452e-06/0.4978, allocations: 0 / 0.6687 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.5007, allocations: 1.696 MB / 0.6704 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.043e-05/0.5007, allocations: 9.859 kB / 0.6704 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.5008, allocations: 11.94 kB / 0.6704 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.5022, allocations: 0.7819 MB / 0.6711 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5022, allocations: 0 / 0.6711 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5022, allocations: 0 / 0.6711 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.5022, allocations: 7.938 kB / 0.6711 GB, free: 6.016 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000714/0.5029, allocations: 396.9 kB / 0.6715 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.503, allocations: 8.031 kB / 0.6715 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.503, allocations: 8.891 kB / 0.6715 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.692e-05/0.5031, allocations: 102.5 kB / 0.6716 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.5031, allocations: 7.938 kB / 0.6716 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.5031, allocations: 0 / 0.6716 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.5033, allocations: 73.66 kB / 0.6717 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5033, allocations: 0 / 0.6717 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.5033, allocations: 4 kB / 0.6717 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.5033, allocations: 11.92 kB / 0.6717 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.271e-05/0.5034, allocations: 49.48 kB / 0.6718 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.5038, allocations: 267.8 kB / 0.672 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.631e-05/0.5039, allocations: 38.59 kB / 0.6721 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.5039, allocations: 8.922 kB / 0.6721 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.899e-05/0.504, allocations: 19.97 kB / 0.6721 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.504, allocations: 34.56 kB / 0.6721 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.504, allocations: 0 / 0.6721 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000164/0.5042, allocations: 49.62 kB / 0.6722 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.5042, allocations: 59.34 kB / 0.6722 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.5043, allocations: 101.8 kB / 0.6723 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.5043, allocations: 25.7 kB / 0.6724 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.723e-05/0.5044, allocations: 92.03 kB / 0.6724 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.5044, allocations: 19.84 kB / 0.6725 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.5044, allocations: 25.7 kB / 0.6725 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5046, allocations: 310.8 kB / 0.6728 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.5046, allocations: 8 kB / 0.6728 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.581e-05/0.5046, allocations: 33.42 kB / 0.6728 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.774e-05/0.5047, allocations: 55.36 kB / 0.6729 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5047, allocations: 4 kB / 0.6729 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001069/0.5048, allocations: 61.62 kB / 0.6729 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5048, allocations: 8 kB / 0.6729 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5048, allocations: 0 / 0.6729 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5049, allocations: 7.875 kB / 0.673 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.5049, allocations: 21.36 kB / 0.673 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.5049, allocations: 0 / 0.673 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.505, allocations: 4.094 kB / 0.673 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.505, allocations: 4 kB / 0.673 GB, free: 3.93 MB / 0.4981 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 (6): * Single equations (assignments): 6 * 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 9.328e-05/0.5051, allocations: 113.8 kB / 0.6731 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.5051, allocations: 7.891 kB / 0.6731 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.5052, allocations: 62.86 kB / 0.6732 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.5052, allocations: 3.938 kB / 0.6732 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5052, allocations: 4 kB / 0.6732 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5052, allocations: 0 / 0.6732 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.5054, allocations: 132.8 kB / 0.6733 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5054, allocations: 0 / 0.6733 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.891e-05/0.5054, allocations: 4.625 kB / 0.6733 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5054, allocations: 4 kB / 0.6733 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.5054, allocations: 3.938 kB / 0.6733 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.5054, allocations: 3.984 kB / 0.6733 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5054, allocations: 2.812 kB / 0.6733 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.5056, allocations: 140 kB / 0.6734 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.5056, allocations: 11.94 kB / 0.6735 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.5056, allocations: 3.938 kB / 0.6735 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.5056, allocations: 0 / 0.6735 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.5057, allocations: 4.031 kB / 0.6735 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.5057, allocations: 4 kB / 0.6735 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.5057, allocations: 83.2 kB / 0.6735 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5057, allocations: 0 / 0.6735 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004264/0.5061, allocations: 103.6 kB / 0.6736 GB, free: 3.184 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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.0005581/0.5067, allocations: 254.7 kB / 0.6739 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.5068, allocations: 19.98 kB / 0.6739 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.5068, allocations: 4 kB / 0.6739 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.365e-05/0.5068, allocations: 7.938 kB / 0.6739 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.507, allocations: 4 kB / 0.6739 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.5074, allocations: 167.1 kB / 0.6741 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.5077, allocations: 0.6807 MB / 0.6747 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.5077, allocations: 15.44 kB / 0.6748 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.5077, allocations: 0 / 0.6748 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of Templates: time 0.004421/0.5122, allocations: 2.287 MB / 0.677 GB, free: 15.69 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.286011710064486]