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.002026/0.002026, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002382/0.002382, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 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.632/1.632, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3822/0.3822, allocations: 34.26 MB / 295.3 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 179] 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 2.514e-06/2.514e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.516e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.341/0.341, allocations: 132.8 MB / 0.4981 GB, free: 24.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.3428, allocations: 1.301 MB / 0.4994 GB, free: 23.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.841e-05/0.3428, allocations: 1.062 kB / 0.4994 GB, free: 23.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.3432, allocations: 41.81 kB / 0.4995 GB, free: 23.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.3464, allocations: 1.104 MB / 0.5005 GB, free: 22.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.59e-06/0.3464, allocations: 4 kB / 0.5005 GB, free: 22.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.3465, allocations: 72.72 kB / 0.5006 GB, free: 22.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.62e-05/0.3466, allocations: 3.234 kB / 0.5006 GB, free: 22.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.3466, allocations: 31.11 kB / 0.5006 GB, free: 22.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.3467, allocations: 34.16 kB / 0.5007 GB, free: 22.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3467, allocations: 1.094 kB / 0.5007 GB, free: 22.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00313/0.3499, allocations: 1.613 MB / 0.5022 GB, free: 22.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.809e-05/0.3499, allocations: 22.08 kB / 0.5023 GB, free: 22.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.35, allocations: 11.95 kB / 0.5023 GB, free: 22.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.3518, allocations: 1.039 MB / 0.5033 GB, free: 22.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3518, allocations: 0.7812 kB / 0.5033 GB, free: 22.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3518, allocations: 3.938 kB / 0.5033 GB, free: 22.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.3518, allocations: 1.125 kB / 0.5033 GB, free: 22.14 MB / 410.7 MB 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.0007002/0.3525, allocations: 443.1 kB / 0.5037 GB, free: 21.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3525, allocations: 9.281 kB / 0.5037 GB, free: 21.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.3526, allocations: 7.281 kB / 0.5037 GB, free: 21.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.518e-05/0.3527, allocations: 109.1 kB / 0.5038 GB, free: 21.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3527, allocations: 1.938 kB / 0.5038 GB, free: 21.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.3527, allocations: 15.73 kB / 0.5039 GB, free: 21.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.3528, allocations: 87.44 kB / 0.5039 GB, free: 21.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3528, allocations: 0 / 0.5039 GB, free: 21.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3529, allocations: 6.141 kB / 0.5039 GB, free: 21.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.3529, allocations: 12.8 kB / 0.504 GB, free: 21.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.353, allocations: 64.67 kB / 0.504 GB, free: 21.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.3534, allocations: 253.4 kB / 0.5043 GB, free: 21.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.59e-05/0.3535, allocations: 40.39 kB / 0.5043 GB, free: 21.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.3535, allocations: 13.19 kB / 0.5043 GB, free: 21.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.3536, allocations: 28.23 kB / 0.5043 GB, free: 21.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.3537, allocations: 32.14 kB / 0.5044 GB, free: 21.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3537, allocations: 4 kB / 0.5044 GB, free: 21.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002137/0.3539, allocations: 74.28 kB / 0.5044 GB, free: 21.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.3539, allocations: 52.59 kB / 0.5045 GB, free: 21.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.354, allocations: 111.7 kB / 0.5046 GB, free: 21.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.354, allocations: 27.45 kB / 0.5046 GB, free: 20.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.354, allocations: 100.1 kB / 0.5047 GB, free: 20.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.354, allocations: 19.16 kB / 0.5047 GB, free: 20.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.3541, allocations: 22.34 kB / 0.5048 GB, free: 20.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.3541, allocations: 318.4 kB / 0.5051 GB, free: 20.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.399e-05/0.3542, allocations: 9.625 kB / 0.5051 GB, free: 20.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.297e-05/0.3542, allocations: 37.27 kB / 0.5051 GB, free: 20.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.433e-05/0.3543, allocations: 63.12 kB / 0.5052 GB, free: 20.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3543, allocations: 0 / 0.5052 GB, free: 20.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001254/0.3544, allocations: 88.77 kB / 0.5053 GB, free: 20.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3544, allocations: 6.062 kB / 0.5053 GB, free: 20.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3544, allocations: 1.25 kB / 0.5053 GB, free: 20.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.3545, allocations: 1.516 kB / 0.5053 GB, free: 20.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.3545, allocations: 17.02 kB / 0.5053 GB, free: 20.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3545, allocations: 5.156 kB / 0.5053 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.3546, allocations: 10.73 kB / 0.5053 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.3546, allocations: 5.594 kB / 0.5053 GB, free: 20.39 MB / 410.7 MB 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 5.42e-05/0.3547, allocations: 114.8 kB / 0.5054 GB, free: 20.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.3547, allocations: 11.58 kB / 0.5054 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.3548, allocations: 70.81 kB / 0.5055 GB, free: 20.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.3548, allocations: 5.281 kB / 0.5055 GB, free: 20.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3549, allocations: 2.078 kB / 0.5055 GB, free: 20.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3549, allocations: 3.938 kB / 0.5055 GB, free: 20.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.355, allocations: 117.3 kB / 0.5056 GB, free: 20.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.355, allocations: 0.5156 kB / 0.5056 GB, free: 20.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.355, allocations: 7.828 kB / 0.5056 GB, free: 20.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.355, allocations: 1.031 kB / 0.5056 GB, free: 20.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.355, allocations: 1.578 kB / 0.5056 GB, free: 20.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.355, allocations: 0.6094 kB / 0.5056 GB, free: 20.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.355, allocations: 2.188 kB / 0.5056 GB, free: 20.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.3552, allocations: 160.3 kB / 0.5058 GB, free: 19.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.3552, allocations: 10.22 kB / 0.5058 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.3552, allocations: 5.5 kB / 0.5058 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.386e-05/0.3552, allocations: 3.188 kB / 0.5058 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.3553, allocations: 4.609 kB / 0.5058 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.3553, allocations: 2.531 kB / 0.5058 GB, free: 19.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.608e-05/0.3553, allocations: 87.34 kB / 0.5059 GB, free: 19.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3553, allocations: 3.938 kB / 0.5059 GB, free: 19.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005397/0.3558, allocations: 153 kB / 0.506 GB, free: 19.8 MB / 410.7 MB 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.0007821/0.3566, allocations: 350.3 kB / 0.5064 GB, free: 19.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.3567, allocations: 34.95 kB / 0.5064 GB, free: 19.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3567, allocations: 1.375 kB / 0.5064 GB, free: 19.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/0.3568, allocations: 15.5 kB / 0.5064 GB, free: 19.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.3571, allocations: 13.69 kB / 0.5064 GB, free: 19.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.3575, allocations: 154.4 kB / 0.5066 GB, free: 19.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.91e-05/0.3575, allocations: 67.94 kB / 0.5066 GB, free: 19.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.538e-05/0.3576, allocations: 20.42 kB / 0.5067 GB, free: 19.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.3576, allocations: 15.27 kB / 0.5067 GB, free: 19.42 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3576, allocations: 1.375 kB / 0.5067 GB, free: 19.42 MB / 410.7 MB Notification: Performance of Templates: time 0.007126/0.3647, allocations: 3.737 MB / 0.5103 GB, free: 19.04 MB / 410.7 MB " [Timeout remaining time 660] 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.539381216978654]