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.001426/0.001426, allocations: 100.4 kB / 20.45 MB, free: 1.395 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.00163/0.00163, allocations: 217.5 kB / 23.75 MB, free: 4.559 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.513/1.513, allocations: 207.7 MB / 234.6 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] 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.2273/0.2273, allocations: 44.26 MB / 331.1 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] 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.002297/0.002297, allocations: 77.61 kB / 468.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1284, allocations: 61.04 MB / 0.5174 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4089/0.5373, allocations: 131 MB / 0.6452 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.539, allocations: 1.074 MB / 0.6463 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.539, allocations: 0 / 0.6463 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.5393, allocations: 35.81 kB / 0.6463 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.5416, allocations: 0.8895 MB / 0.6472 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.5416, allocations: 4 kB / 0.6472 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.5417, allocations: 43.78 kB / 0.6472 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.5417, allocations: 4 kB / 0.6472 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.5418, allocations: 23.86 kB / 0.6473 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.5418, allocations: 15.98 kB / 0.6473 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.5419, allocations: 3.984 kB / 0.6473 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.5442, allocations: 1.372 MB / 0.6486 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.5442, allocations: 11.92 kB / 0.6486 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.5443, allocations: 21.64 kB / 0.6487 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.5454, allocations: 0.7391 MB / 0.6494 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5454, allocations: 0 / 0.6494 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5454, allocations: 4 kB / 0.6494 GB, free: 10.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.5454, allocations: 0 / 0.6494 GB, free: 10.99 MB / 494.1 MB 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.000657/0.5461, allocations: 392.9 kB / 0.6498 GB, free: 10.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.5461, allocations: 8.031 kB / 0.6498 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.5462, allocations: 8.891 kB / 0.6498 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.872e-05/0.5463, allocations: 102.5 kB / 0.6499 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.5463, allocations: 11.94 kB / 0.6499 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.5463, allocations: 0 / 0.6499 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.5464, allocations: 65.67 kB / 0.6499 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.5465, allocations: 7.922 kB / 0.65 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.5465, allocations: 8 kB / 0.65 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.5465, allocations: 8 kB / 0.65 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.831e-05/0.5466, allocations: 51.81 kB / 0.65 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.547, allocations: 244.4 kB / 0.6503 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.98e-05/0.5471, allocations: 34.59 kB / 0.6503 GB, free: 9.973 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.5471, allocations: 8.922 kB / 0.6503 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.444e-05/0.5472, allocations: 15.98 kB / 0.6503 GB, free: 9.945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.5473, allocations: 34.56 kB / 0.6503 GB, free: 9.902 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5473, allocations: 0 / 0.6503 GB, free: 9.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001772/0.5474, allocations: 49.62 kB / 0.6504 GB, free: 9.848 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.5475, allocations: 55.34 kB / 0.6504 GB, free: 9.781 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.5476, allocations: 105.9 kB / 0.6505 GB, free: 9.668 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.5476, allocations: 29.64 kB / 0.6506 GB, free: 9.633 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.5477, allocations: 99.97 kB / 0.6507 GB, free: 9.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.232e-05/0.5477, allocations: 11.91 kB / 0.6507 GB, free: 9.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.5477, allocations: 17.72 kB / 0.6507 GB, free: 9.496 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5479, allocations: 318.8 kB / 0.651 GB, free: 9.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.5479, allocations: 8 kB / 0.651 GB, free: 9.168 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.641e-05/0.5479, allocations: 31.42 kB / 0.651 GB, free: 9.125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.742e-05/0.548, allocations: 51.38 kB / 0.6511 GB, free: 9.062 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.548, allocations: 0 / 0.6511 GB, free: 9.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001095/0.5481, allocations: 69.61 kB / 0.6512 GB, free: 8.988 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.5481, allocations: 4 kB / 0.6512 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5481, allocations: 0 / 0.6512 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.5482, allocations: 4 kB / 0.6512 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.5482, allocations: 15.88 kB / 0.6512 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.5482, allocations: 0 / 0.6512 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.5483, allocations: 7.953 kB / 0.6512 GB, free: 8.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.5483, allocations: 12.95 kB / 0.6512 GB, free: 8.945 MB / 494.1 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 (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 8.807e-05/0.5484, allocations: 113.8 kB / 0.6513 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.5484, allocations: 0 / 0.6513 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.5485, allocations: 58.72 kB / 0.6514 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5485, allocations: 8.406 kB / 0.6514 GB, free: 8.758 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5485, allocations: 3.984 kB / 0.6514 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.5485, allocations: 0 / 0.6514 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.5487, allocations: 105.3 kB / 0.6515 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5487, allocations: 4 kB / 0.6515 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.5487, allocations: 13.73 kB / 0.6515 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5487, allocations: 5.578 kB / 0.6515 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.5487, allocations: 0 / 0.6515 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5487, allocations: 0 / 0.6515 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.5487, allocations: 3.938 kB / 0.6515 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.5488, allocations: 135.5 kB / 0.6516 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.5488, allocations: 7.953 kB / 0.6516 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.5489, allocations: 4 kB / 0.6516 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.452e-05/0.5489, allocations: 3.938 kB / 0.6516 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.5489, allocations: 11.92 kB / 0.6517 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.5489, allocations: 4 kB / 0.6517 GB, free: 8.418 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.277e-05/0.549, allocations: 83.22 kB / 0.6517 GB, free: 8.336 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.549, allocations: 0 / 0.6517 GB, free: 8.336 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003922/0.5494, allocations: 95.67 kB / 0.6518 GB, free: 8.242 MB / 494.1 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 (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.0005473/0.5499, allocations: 250.7 kB / 0.6521 GB, free: 7.988 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.55, allocations: 19.92 kB / 0.6521 GB, free: 7.969 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.55, allocations: 0 / 0.6521 GB, free: 7.969 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.782e-05/0.55, allocations: 12 kB / 0.6521 GB, free: 7.957 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.5503, allocations: 10.61 kB / 0.6521 GB, free: 7.949 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.5506, allocations: 161.8 kB / 0.6523 GB, free: 7.758 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.371e-05/0.5507, allocations: 67.28 kB / 0.6523 GB, free: 7.672 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.5507, allocations: 23.42 kB / 0.6524 GB, free: 7.648 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5507, allocations: 0 / 0.6524 GB, free: 7.648 MB / 494.1 MB Notification: Performance of Templates: time 0.004523/0.5552, allocations: 2.306 MB / 0.6546 GB, free: 5.348 MB / 494.1 MB " [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: 8.542216497007757]