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.001606/0.001606, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002038/0.002038, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.11 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 76.8 kB / 418.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1152, allocations: 62.44 MB / 480.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3689/0.4841, allocations: 153.9 MB / 0.6197 GB, free: 9.402 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.4862, allocations: 1.452 MB / 0.6211 GB, free: 7.949 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.4863, allocations: 0 / 0.6211 GB, free: 7.949 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.4866, allocations: 47.48 kB / 0.6212 GB, free: 7.906 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002888/0.4895, allocations: 1.077 MB / 0.6222 GB, free: 6.852 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.384e-06/0.4896, allocations: 0 / 0.6222 GB, free: 6.852 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.4897, allocations: 63.66 kB / 0.6223 GB, free: 6.789 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.4897, allocations: 11.83 kB / 0.6223 GB, free: 6.781 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.648e-05/0.4898, allocations: 23.86 kB / 0.6223 GB, free: 6.758 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.102e-05/0.4899, allocations: 31.91 kB / 0.6224 GB, free: 6.727 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.867e-06/0.4899, allocations: 0 / 0.6224 GB, free: 6.727 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003364/0.4933, allocations: 1.84 MB / 0.6242 GB, free: 4.883 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.4933, allocations: 11.97 kB / 0.6242 GB, free: 4.871 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.4934, allocations: 23.88 kB / 0.6242 GB, free: 4.848 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.4953, allocations: 0.9201 MB / 0.6251 GB, free: 3.926 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4953, allocations: 0 / 0.6251 GB, free: 3.926 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4953, allocations: 0 / 0.6251 GB, free: 3.926 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.4953, allocations: 0 / 0.6251 GB, free: 3.926 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.0008204/0.4962, allocations: 0.4952 MB / 0.6256 GB, free: 3.383 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.4962, allocations: 8.031 kB / 0.6256 GB, free: 3.375 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.4963, allocations: 8.938 kB / 0.6256 GB, free: 3.367 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4964, allocations: 171.8 kB / 0.6258 GB, free: 3.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.4964, allocations: 4 kB / 0.6258 GB, free: 3.156 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.4964, allocations: 4 kB / 0.6258 GB, free: 3.152 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.4966, allocations: 88.05 kB / 0.6258 GB, free: 3.062 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.4966, allocations: 0 / 0.6258 GB, free: 3.062 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.4966, allocations: 4 kB / 0.6258 GB, free: 3.059 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.4967, allocations: 11.92 kB / 0.6259 GB, free: 3.047 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.4968, allocations: 63.95 kB / 0.6259 GB, free: 2.984 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.4972, allocations: 320.6 kB / 0.6262 GB, free: 2.621 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.877e-05/0.4973, allocations: 45.06 kB / 0.6263 GB, free: 2.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.4973, allocations: 16.84 kB / 0.6263 GB, free: 2.551 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002193/0.4976, allocations: 255.4 kB / 0.6265 GB, free: 2.246 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.4976, allocations: 34.56 kB / 0.6266 GB, free: 2.203 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.4976, allocations: 0 / 0.6266 GB, free: 2.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001922/0.4978, allocations: 77.55 kB / 0.6266 GB, free: 2.121 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.4978, allocations: 51.41 kB / 0.6267 GB, free: 2.059 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.432e-05/0.4979, allocations: 105.8 kB / 0.6268 GB, free: 1.945 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.4979, allocations: 25.7 kB / 0.6268 GB, free: 1.914 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.498, allocations: 95.89 kB / 0.6269 GB, free: 1.816 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.498, allocations: 15.81 kB / 0.6269 GB, free: 1.801 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.4981, allocations: 21.7 kB / 0.6269 GB, free: 1.773 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.4982, allocations: 318.8 kB / 0.6272 GB, free: 1.453 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.99e-05/0.4982, allocations: 11.98 kB / 0.6273 GB, free: 1.441 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.53e-05/0.4982, allocations: 39.42 kB / 0.6273 GB, free: 1.391 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.885e-05/0.4983, allocations: 59.31 kB / 0.6273 GB, free: 1.324 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4983, allocations: 2.719 kB / 0.6273 GB, free: 1.324 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001382/0.4985, allocations: 89.45 kB / 0.6274 GB, free: 1.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4985, allocations: 7.938 kB / 0.6274 GB, free: 1.223 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4985, allocations: 0 / 0.6274 GB, free: 1.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4985, allocations: 4 kB / 0.6274 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.4986, allocations: 11.98 kB / 0.6275 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4986, allocations: 4 kB / 0.6275 GB, free: 1.203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.4987, allocations: 4.047 kB / 0.6275 GB, free: 1.199 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.4987, allocations: 12.03 kB / 0.6275 GB, free: 1.188 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 0.0001054/0.4988, allocations: 117.8 kB / 0.6276 GB, free: 1.062 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.4989, allocations: 11.84 kB / 0.6276 GB, free: 1.051 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.499, allocations: 73.17 kB / 0.6277 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.4991, allocations: 4 kB / 0.6277 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4991, allocations: 3.984 kB / 0.6277 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.4991, allocations: 4 kB / 0.6277 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.4993, allocations: 165.7 kB / 0.6278 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4993, allocations: 0 / 0.6278 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.4993, allocations: 4 kB / 0.6278 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.4993, allocations: 7.922 kB / 0.6278 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.4993, allocations: 5.125 kB / 0.6279 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.4993, allocations: 0 / 0.6279 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4993, allocations: 0 / 0.6279 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.4995, allocations: 156.4 kB / 0.628 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.4995, allocations: 85.02 kB / 0.6281 GB, free: 480 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.4996, allocations: 3.938 kB / 0.6281 GB, free: 476 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.958e-05/0.4996, allocations: 4 kB / 0.6281 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.4997, allocations: 7.984 kB / 0.6281 GB, free: 464 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.4997, allocations: 0 / 0.6281 GB, free: 464 kB / 462.1 MB Notification: Performance of sorting global known variables: time 7.846e-05/0.4997, allocations: 81.84 kB / 0.6282 GB, free: 384 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4997, allocations: 0 / 0.6282 GB, free: 384 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005238/0.5003, allocations: 155.8 kB / 0.6283 GB, free: 228 kB / 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.0009508/0.5012, allocations: 346.8 kB / 0.6287 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.5014, allocations: 39.92 kB / 0.6287 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5014, allocations: 0 / 0.6287 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.379e-05/0.5014, allocations: 24.11 kB / 0.6287 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.5017, allocations: 9.406 kB / 0.6287 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.5022, allocations: 195 kB / 0.6289 GB, free: 15.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.5025, allocations: 0.6852 MB / 0.6296 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.5025, allocations: 15.44 kB / 0.6296 GB, free: 14.86 MB / 478.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5026, allocations: 0 / 0.6296 GB, free: 14.86 MB / 478.1 MB Notification: Performance of Templates: time 0.005657/0.5082, allocations: 3.193 MB / 0.6327 GB, free: 11.68 MB / 478.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