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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009386/0.0009387, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2039/0.2039, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002792, allocations: 8 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1126, allocations: 63.56 MB / 483.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3733/0.4859, allocations: 149.8 MB / 0.6182 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.4879, allocations: 1.532 MB / 0.6197 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.4879, allocations: 0 / 0.6197 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.4882, allocations: 47.55 kB / 0.6197 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003156/0.4914, allocations: 0.9048 MB / 0.6206 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.262e-06/0.4914, allocations: 4 kB / 0.6206 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.4916, allocations: 139.4 kB / 0.6207 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.387e-05/0.4917, allocations: 4 kB / 0.6207 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.616e-05/0.4918, allocations: 23.92 kB / 0.6208 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.391e-05/0.4919, allocations: 35.84 kB / 0.6208 GB, free: 11.83 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.4919, allocations: 4 kB / 0.6208 GB, free: 11.83 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002995/0.4949, allocations: 1.95 MB / 0.6227 GB, free: 9.875 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.4949, allocations: 15.91 kB / 0.6227 GB, free: 9.859 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.352e-05/0.495, allocations: 53.56 kB / 0.6228 GB, free: 9.801 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.4963, allocations: 0.9706 MB / 0.6237 GB, free: 8.828 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4963, allocations: 4 kB / 0.6237 GB, free: 8.824 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4963, allocations: 0 / 0.6237 GB, free: 8.824 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.4964, allocations: 0 / 0.6237 GB, free: 8.824 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.0006636/0.497, allocations: 499.7 kB / 0.6242 GB, free: 8.289 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4971, allocations: 12.86 kB / 0.6242 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.4971, allocations: 38.75 kB / 0.6243 GB, free: 8.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.4971, allocations: 4.938 kB / 0.6243 GB, free: 8.227 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.4973, allocations: 163.8 kB / 0.6244 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.4973, allocations: 0 / 0.6244 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.4973, allocations: 7.984 kB / 0.6244 GB, free: 8.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.4975, allocations: 93.59 kB / 0.6245 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.4975, allocations: 0 / 0.6245 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.4975, allocations: 0 / 0.6245 GB, free: 7.922 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.323e-05/0.4975, allocations: 8 kB / 0.6245 GB, free: 7.914 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.829e-05/0.4976, allocations: 67.89 kB / 0.6246 GB, free: 7.848 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.4981, allocations: 316.5 kB / 0.6249 GB, free: 7.488 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.073e-05/0.4982, allocations: 46.56 kB / 0.6249 GB, free: 7.434 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.4982, allocations: 12.86 kB / 0.6249 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.4984, allocations: 259.4 kB / 0.6252 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.4985, allocations: 34.5 kB / 0.6252 GB, free: 7.066 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.4985, allocations: 0 / 0.6252 GB, free: 7.066 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001867/0.4987, allocations: 77.61 kB / 0.6253 GB, free: 6.984 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.4987, allocations: 51.41 kB / 0.6253 GB, free: 6.922 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.4988, allocations: 105.9 kB / 0.6254 GB, free: 6.809 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.4988, allocations: 25.7 kB / 0.6255 GB, free: 6.777 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.4989, allocations: 95.94 kB / 0.6256 GB, free: 6.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.4989, allocations: 15.75 kB / 0.6256 GB, free: 6.664 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.4989, allocations: 17.7 kB / 0.6256 GB, free: 6.641 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.499, allocations: 314.8 kB / 0.6259 GB, free: 6.324 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.499, allocations: 8 kB / 0.6259 GB, free: 6.316 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-05/0.4991, allocations: 41.02 kB / 0.6259 GB, free: 6.266 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.912e-05/0.4992, allocations: 63.11 kB / 0.626 GB, free: 6.195 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4992, allocations: 0 / 0.626 GB, free: 6.195 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001183/0.4993, allocations: 81.52 kB / 0.6261 GB, free: 6.109 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4993, allocations: 11.88 kB / 0.6261 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4993, allocations: 8.094 kB / 0.6261 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.4993, allocations: 0 / 0.6261 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.4994, allocations: 16 kB / 0.6261 GB, free: 6.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.4994, allocations: 0 / 0.6261 GB, free: 6.074 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.481e-05/0.4995, allocations: 7.984 kB / 0.6261 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.4995, allocations: 4.109 kB / 0.6261 GB, free: 6.062 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 7.27e-05/0.4996, allocations: 121.8 kB / 0.6262 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.4996, allocations: 3.938 kB / 0.6262 GB, free: 5.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.4998, allocations: 86.33 kB / 0.6263 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4998, allocations: 0 / 0.6263 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.4998, allocations: 0 / 0.6263 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.4998, allocations: 0 / 0.6263 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.4999, allocations: 169.6 kB / 0.6265 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5, allocations: 0 / 0.6265 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.975e-05/0.5, allocations: 8 kB / 0.6265 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.5, allocations: 7.875 kB / 0.6265 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.5, allocations: 4 kB / 0.6265 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5, allocations: 0 / 0.6265 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5, allocations: 0 / 0.6265 GB, free: 5.609 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.5001, allocations: 166.1 kB / 0.6267 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.5002, allocations: 85.03 kB / 0.6267 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.5002, allocations: 0 / 0.6267 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.977e-05/0.5003, allocations: 3.906 kB / 0.6268 GB, free: 5.328 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.5003, allocations: 4 kB / 0.6268 GB, free: 5.324 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.5003, allocations: 11.98 kB / 0.6268 GB, free: 5.312 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.746e-05/0.5003, allocations: 83.28 kB / 0.6268 GB, free: 5.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5003, allocations: 0 / 0.6268 GB, free: 5.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004391/0.5008, allocations: 147.8 kB / 0.627 GB, free: 5.086 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.0009755/0.5018, allocations: 0.9194 MB / 0.6279 GB, free: 4.148 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.5019, allocations: 35.98 kB / 0.6279 GB, free: 4.113 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.5019, allocations: 0 / 0.6279 GB, free: 4.113 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.07e-05/0.5019, allocations: 19.92 kB / 0.6279 GB, free: 4.094 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.5022, allocations: 16.17 kB / 0.628 GB, free: 4.078 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.5028, allocations: 289.8 kB / 0.6282 GB, free: 3.754 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.503, allocations: 0.6848 MB / 0.6289 GB, free: 3.043 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.542e-05/0.5031, allocations: 24.69 kB / 0.6289 GB, free: 3.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.5031, allocations: 15.44 kB / 0.6289 GB, free: 3.004 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5031, allocations: 4 kB / 0.6289 GB, free: 3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.517, allocations: 4.744 MB / 0.6336 GB, free: 14.37 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.5172, allocations: 228.6 kB / 0.6338 GB, free: 14.11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.424, allocations: 7.125 kB / 0.6338 GB, free: 14.1 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir.fmu > 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