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.001403/0.001403, allocations: 103 kB / 17.32 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001666/0.001667, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2589/0.2589, allocations: 46.09 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 75.14 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1292, allocations: 62.44 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3962/0.5254, allocations: 151.8 MB / 0.6166 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.5274, allocations: 1.46 MB / 0.618 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.5275, allocations: 6.438 kB / 0.618 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.5278, allocations: 43.8 kB / 0.6181 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.5307, allocations: 0.9722 MB / 0.619 GB, free: 9.348 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.331e-06/0.5307, allocations: 0 / 0.619 GB, free: 9.348 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.5308, allocations: 67.64 kB / 0.6191 GB, free: 9.281 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.5309, allocations: 4 kB / 0.6191 GB, free: 9.277 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.649e-05/0.5309, allocations: 23.86 kB / 0.6191 GB, free: 9.254 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.531, allocations: 39.89 kB / 0.6191 GB, free: 9.215 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.531, allocations: 0 / 0.6191 GB, free: 9.215 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.5341, allocations: 1.906 MB / 0.621 GB, free: 7.309 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.83e-05/0.5341, allocations: 11.98 kB / 0.621 GB, free: 7.297 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.5342, allocations: 19.88 kB / 0.621 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.5359, allocations: 0.9628 MB / 0.622 GB, free: 6.312 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5359, allocations: 8 kB / 0.622 GB, free: 6.305 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5359, allocations: 0 / 0.622 GB, free: 6.305 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.758e-06/0.5359, allocations: 0 / 0.622 GB, free: 6.305 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.0006953/0.5366, allocations: 0.4958 MB / 0.6225 GB, free: 5.762 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.5367, allocations: 8.031 kB / 0.6225 GB, free: 5.754 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.5367, allocations: 42.69 kB / 0.6225 GB, free: 5.703 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.5368, allocations: 4.938 kB / 0.6225 GB, free: 5.699 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.5369, allocations: 175.7 kB / 0.6227 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.5369, allocations: 0 / 0.6227 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.5369, allocations: 4 kB / 0.6227 GB, free: 5.484 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.537, allocations: 85.66 kB / 0.6228 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5371, allocations: 1.5 kB / 0.6228 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.5371, allocations: 0 / 0.6228 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.5371, allocations: 15.86 kB / 0.6228 GB, free: 5.379 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.47e-05/0.5372, allocations: 63.97 kB / 0.6228 GB, free: 5.316 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.5377, allocations: 312.6 kB / 0.6231 GB, free: 4.961 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.241e-05/0.5378, allocations: 46.5 kB / 0.6232 GB, free: 4.906 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.5378, allocations: 12.98 kB / 0.6232 GB, free: 4.891 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/0.538, allocations: 263.3 kB / 0.6235 GB, free: 4.578 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.5381, allocations: 34.5 kB / 0.6235 GB, free: 4.535 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.5381, allocations: 4 kB / 0.6235 GB, free: 4.531 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001834/0.5383, allocations: 65.69 kB / 0.6236 GB, free: 4.461 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.5383, allocations: 55.41 kB / 0.6236 GB, free: 4.395 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.88e-05/0.5384, allocations: 105.8 kB / 0.6237 GB, free: 4.281 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.5384, allocations: 25.7 kB / 0.6237 GB, free: 4.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.5384, allocations: 91.89 kB / 0.6238 GB, free: 4.156 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.5385, allocations: 19.8 kB / 0.6238 GB, free: 4.137 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.5385, allocations: 25.66 kB / 0.6239 GB, free: 4.105 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.5386, allocations: 326.8 kB / 0.6242 GB, free: 3.777 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.5386, allocations: 8 kB / 0.6242 GB, free: 3.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.76e-05/0.5387, allocations: 35.42 kB / 0.6242 GB, free: 3.723 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.199e-05/0.5388, allocations: 59.3 kB / 0.6243 GB, free: 3.656 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5388, allocations: 4 kB / 0.6243 GB, free: 3.652 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001257/0.5389, allocations: 81.53 kB / 0.6244 GB, free: 3.566 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.5389, allocations: 11.92 kB / 0.6244 GB, free: 3.555 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5389, allocations: 4 kB / 0.6244 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.539, allocations: 0 / 0.6244 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.539, allocations: 12 kB / 0.6244 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5391, allocations: 3.938 kB / 0.6244 GB, free: 3.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.847e-05/0.5391, allocations: 8.047 kB / 0.6244 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.5391, allocations: 12.03 kB / 0.6244 GB, free: 3.516 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 6.884e-05/0.5392, allocations: 113.8 kB / 0.6245 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.5392, allocations: 11.84 kB / 0.6245 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.5394, allocations: 78 kB / 0.6246 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.5394, allocations: 0 / 0.6246 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5394, allocations: 0 / 0.6246 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5394, allocations: 4 kB / 0.6246 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.5396, allocations: 165.7 kB / 0.6248 GB, free: 3.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5396, allocations: 0 / 0.6248 GB, free: 3.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.5397, allocations: 15.92 kB / 0.6248 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/0.5397, allocations: 7.922 kB / 0.6248 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.5397, allocations: 0 / 0.6248 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5397, allocations: 0 / 0.6248 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5397, allocations: 1.719 kB / 0.6248 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.5398, allocations: 158.3 kB / 0.6249 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.5399, allocations: 88.94 kB / 0.625 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.5399, allocations: 4 kB / 0.625 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.229e-05/0.5399, allocations: 3.938 kB / 0.625 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.54, allocations: 4 kB / 0.625 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.54, allocations: 7.938 kB / 0.625 GB, free: 2.773 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.772e-05/0.54, allocations: 83.27 kB / 0.6251 GB, free: 2.691 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.54, allocations: 0 / 0.6251 GB, free: 2.691 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004901/0.5405, allocations: 143.9 kB / 0.6253 GB, free: 2.551 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.001111/0.5416, allocations: 0.9386 MB / 0.6262 GB, free: 1.598 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.5418, allocations: 44.8 kB / 0.6262 GB, free: 1.555 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5418, allocations: 0 / 0.6262 GB, free: 1.555 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/0.5418, allocations: 12 kB / 0.6262 GB, free: 1.543 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.5421, allocations: 15.42 kB / 0.6262 GB, free: 1.531 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005961/0.5427, allocations: 282.9 kB / 0.6265 GB, free: 1.215 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.5429, allocations: 0.689 MB / 0.6272 GB, free: 0.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.948e-05/0.543, allocations: 24.56 kB / 0.6272 GB, free: 488 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.543, allocations: 19.42 kB / 0.6272 GB, free: 468 kB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5431, allocations: 4 kB / 0.6272 GB, free: 464 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.5582, allocations: 4.882 MB / 0.632 GB, free: 11.68 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.5584, allocations: 224.6 kB / 0.6322 GB, free: 11.42 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.476, allocations: 0 / 0.6322 GB, free: 11.42 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