Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009363/0.0009361, allocations: 95.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.7 MB / 247.5 MB, free: 9.469 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.19 MB / 345.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002938, allocations: 11.94 kB / 420.2 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1202, allocations: 63.56 MB / 483.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4009/0.5211, allocations: 149.8 MB / 0.6187 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.5233, allocations: 1.537 MB / 0.6202 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.5234, allocations: 0 / 0.6202 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.5238, allocations: 50.66 kB / 0.6203 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003156/0.5269, allocations: 0.8869 MB / 0.6211 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.001e-06/0.527, allocations: 0 / 0.6211 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.5272, allocations: 147.5 kB / 0.6213 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.5272, allocations: 4 kB / 0.6213 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.5273, allocations: 23.86 kB / 0.6213 GB, free: 12.02 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.02e-05/0.5274, allocations: 43.83 kB / 0.6213 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.5274, allocations: 0 / 0.6213 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/0.5309, allocations: 1.956 MB / 0.6232 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.531, allocations: 7.984 kB / 0.6233 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.531, allocations: 49.58 kB / 0.6233 GB, free: 9.965 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.5324, allocations: 0.6588 MB / 0.6239 GB, free: 9.305 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5324, allocations: 7.469 kB / 0.624 GB, free: 9.301 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5324, allocations: 0 / 0.624 GB, free: 9.301 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.5324, allocations: 0 / 0.624 GB, free: 9.301 MB / 462.1 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.0008863/0.5333, allocations: 495.1 kB / 0.6244 GB, free: 8.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.5333, allocations: 12.88 kB / 0.6244 GB, free: 8.758 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.5334, allocations: 0.9375 kB / 0.6244 GB, free: 8.758 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.5335, allocations: 175.9 kB / 0.6246 GB, free: 8.547 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.5335, allocations: 3.984 kB / 0.6246 GB, free: 8.543 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.5336, allocations: 8 kB / 0.6246 GB, free: 8.535 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.5337, allocations: 85.66 kB / 0.6247 GB, free: 8.445 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.5338, allocations: 0 / 0.6247 GB, free: 8.445 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.5338, allocations: 0 / 0.6247 GB, free: 8.445 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/0.5338, allocations: 11.98 kB / 0.6247 GB, free: 8.434 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.5339, allocations: 63.91 kB / 0.6248 GB, free: 8.371 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.5344, allocations: 316.6 kB / 0.6251 GB, free: 8.012 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.197e-05/0.5345, allocations: 38.69 kB / 0.6251 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.5346, allocations: 24.91 kB / 0.6251 GB, free: 7.938 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/0.5348, allocations: 259.3 kB / 0.6254 GB, free: 7.629 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.5348, allocations: 38.5 kB / 0.6254 GB, free: 7.582 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.5349, allocations: 0 / 0.6254 GB, free: 7.582 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002151/0.5351, allocations: 69.25 kB / 0.6255 GB, free: 7.512 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.5351, allocations: 55.41 kB / 0.6255 GB, free: 7.445 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/0.5352, allocations: 105.8 kB / 0.6256 GB, free: 7.332 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.5352, allocations: 29.7 kB / 0.6257 GB, free: 7.297 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.5353, allocations: 91.95 kB / 0.6258 GB, free: 7.203 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.5353, allocations: 19.73 kB / 0.6258 GB, free: 7.184 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.5354, allocations: 13.72 kB / 0.6258 GB, free: 7.164 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.5355, allocations: 314.8 kB / 0.6261 GB, free: 6.848 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.5355, allocations: 15.98 kB / 0.6261 GB, free: 6.832 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.289e-05/0.5356, allocations: 39.98 kB / 0.6261 GB, free: 6.781 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.388e-05/0.5357, allocations: 55.42 kB / 0.6262 GB, free: 6.715 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5357, allocations: 0 / 0.6262 GB, free: 6.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001426/0.5358, allocations: 85.47 kB / 0.6263 GB, free: 6.625 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.5358, allocations: 7.938 kB / 0.6263 GB, free: 6.617 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.5359, allocations: 0 / 0.6263 GB, free: 6.617 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5359, allocations: 12.03 kB / 0.6263 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.536, allocations: 11.98 kB / 0.6263 GB, free: 6.594 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.536, allocations: 4 kB / 0.6263 GB, free: 6.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.536, allocations: 0 / 0.6263 GB, free: 6.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.5361, allocations: 4.156 kB / 0.6263 GB, free: 6.586 MB / 462.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 (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 8.237e-05/0.5361, allocations: 117.8 kB / 0.6264 GB, free: 6.461 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.5362, allocations: 11.92 kB / 0.6264 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.5364, allocations: 85.08 kB / 0.6265 GB, free: 6.363 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.5364, allocations: 3.984 kB / 0.6265 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5364, allocations: 0 / 0.6265 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.5364, allocations: 0 / 0.6265 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.5366, allocations: 165.7 kB / 0.6267 GB, free: 6.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5366, allocations: 2.438 kB / 0.6267 GB, free: 6.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.5366, allocations: 7.984 kB / 0.6267 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.5366, allocations: 7.938 kB / 0.6267 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.5367, allocations: 4 kB / 0.6267 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5367, allocations: 11.88 kB / 0.6267 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5367, allocations: 0 / 0.6267 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.5368, allocations: 147.5 kB / 0.6269 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.5369, allocations: 85.02 kB / 0.6269 GB, free: 5.855 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.5369, allocations: 3.938 kB / 0.6269 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.537, allocations: 0 / 0.6269 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.537, allocations: 7.984 kB / 0.6269 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.537, allocations: 8 kB / 0.627 GB, free: 5.836 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.869e-05/0.537, allocations: 84.16 kB / 0.627 GB, free: 5.754 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.537, allocations: 0 / 0.627 GB, free: 5.754 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005649/0.5376, allocations: 155.8 kB / 0.6272 GB, free: 5.602 MB / 462.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 (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.0009049/0.5385, allocations: 328.7 kB / 0.6275 GB, free: 5.277 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.5387, allocations: 35.92 kB / 0.6275 GB, free: 5.242 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5387, allocations: 0 / 0.6275 GB, free: 5.242 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.851e-05/0.5387, allocations: 23.92 kB / 0.6276 GB, free: 5.219 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.539, allocations: 15.31 kB / 0.6276 GB, free: 5.207 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.5395, allocations: 221.4 kB / 0.6278 GB, free: 4.957 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.5397, allocations: 0.6887 MB / 0.6284 GB, free: 4.242 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.5398, allocations: 11.44 kB / 0.6285 GB, free: 4.23 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5398, allocations: 0 / 0.6285 GB, free: 4.23 MB / 462.1 MB Notification: Performance of Templates: time 0.006142/0.5459, allocations: 3.185 MB / 0.6316 GB, free: 1.047 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches