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.001126/0.001126, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2094/0.2094, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 76.72 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1116, allocations: 62.46 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4167/0.5283, allocations: 153.9 MB / 0.6192 GB, free: 9.25 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.5301, allocations: 1.459 MB / 0.6206 GB, free: 7.793 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.5302, allocations: 0 / 0.6206 GB, free: 7.793 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.5306, allocations: 47.48 kB / 0.6206 GB, free: 7.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002616/0.5332, allocations: 1.078 MB / 0.6217 GB, free: 6.695 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.35e-06/0.5332, allocations: 0 / 0.6217 GB, free: 6.695 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.5333, allocations: 63.66 kB / 0.6217 GB, free: 6.633 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.5334, allocations: 11.98 kB / 0.6218 GB, free: 6.621 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.944e-05/0.5334, allocations: 19.92 kB / 0.6218 GB, free: 6.602 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.5335, allocations: 35.83 kB / 0.6218 GB, free: 6.566 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.5335, allocations: 0 / 0.6218 GB, free: 6.566 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.5365, allocations: 1.833 MB / 0.6236 GB, free: 4.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.5366, allocations: 11.92 kB / 0.6236 GB, free: 4.719 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.619e-05/0.5366, allocations: 19.94 kB / 0.6236 GB, free: 4.699 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.5385, allocations: 0.9278 MB / 0.6245 GB, free: 3.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.5385, allocations: 0 / 0.6245 GB, free: 3.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5385, allocations: 7.938 kB / 0.6245 GB, free: 3.762 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.5385, allocations: 0 / 0.6245 GB, free: 3.762 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.0008798/0.5394, allocations: 0.4919 MB / 0.625 GB, free: 3.223 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.5395, allocations: 8.031 kB / 0.625 GB, free: 3.215 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.5395, allocations: 38.75 kB / 0.6251 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.5396, allocations: 0.9375 kB / 0.6251 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.5397, allocations: 171.7 kB / 0.6252 GB, free: 2.961 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.5397, allocations: 3.984 kB / 0.6252 GB, free: 2.957 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.5397, allocations: 9.594 kB / 0.6252 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.5399, allocations: 89.59 kB / 0.6253 GB, free: 2.855 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.5399, allocations: 0 / 0.6253 GB, free: 2.855 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.5399, allocations: 0 / 0.6253 GB, free: 2.855 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/0.5399, allocations: 8 kB / 0.6253 GB, free: 2.848 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.419e-05/0.54, allocations: 63.95 kB / 0.6254 GB, free: 2.785 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.5405, allocations: 312.6 kB / 0.6257 GB, free: 2.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.84e-05/0.5406, allocations: 46.5 kB / 0.6257 GB, free: 2.375 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.5406, allocations: 16.98 kB / 0.6258 GB, free: 2.355 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002141/0.5409, allocations: 255.3 kB / 0.626 GB, free: 2.051 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.5409, allocations: 38.5 kB / 0.626 GB, free: 2.004 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.5409, allocations: 0 / 0.626 GB, free: 2.004 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001975/0.5411, allocations: 77.59 kB / 0.6261 GB, free: 1.922 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.5411, allocations: 51.41 kB / 0.6262 GB, free: 1.859 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.273e-05/0.5412, allocations: 106.7 kB / 0.6263 GB, free: 1.746 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.5413, allocations: 29.75 kB / 0.6263 GB, free: 1.711 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.5413, allocations: 103.8 kB / 0.6264 GB, free: 1.605 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.206e-05/0.5413, allocations: 11.81 kB / 0.6264 GB, free: 1.594 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.5414, allocations: 25.7 kB / 0.6264 GB, free: 1.562 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.5415, allocations: 314.8 kB / 0.6267 GB, free: 1.246 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/0.5415, allocations: 11.98 kB / 0.6267 GB, free: 1.234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/0.5416, allocations: 47.41 kB / 0.6268 GB, free: 1.176 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.796e-05/0.5417, allocations: 52.75 kB / 0.6268 GB, free: 1.113 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5417, allocations: 0 / 0.6268 GB, free: 1.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001592/0.5419, allocations: 81.52 kB / 0.6269 GB, free: 1.027 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.5419, allocations: 12.03 kB / 0.6269 GB, free: 1.016 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.5419, allocations: 7.875 kB / 0.6269 GB, free: 1.012 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.5419, allocations: 0 / 0.6269 GB, free: 1.012 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.542, allocations: 19.92 kB / 0.627 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.5421, allocations: 0 / 0.627 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.5421, allocations: 11.94 kB / 0.627 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.5421, allocations: 4 kB / 0.627 GB, free: 0.9766 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.0001113/0.5423, allocations: 109.8 kB / 0.6271 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.5423, allocations: 7.844 kB / 0.6271 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.5425, allocations: 81.95 kB / 0.6272 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/0.5425, allocations: 0 / 0.6272 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.5425, allocations: 0 / 0.6272 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5426, allocations: 3.984 kB / 0.6272 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.5428, allocations: 165.7 kB / 0.6273 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5428, allocations: 0 / 0.6273 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.5428, allocations: 8 kB / 0.6273 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.5428, allocations: 3.938 kB / 0.6273 GB, free: 0.543 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.5429, allocations: 7.984 kB / 0.6273 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5429, allocations: 0 / 0.6273 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5429, allocations: 0 / 0.6273 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.5431, allocations: 159.5 kB / 0.6275 GB, free: 372 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.5431, allocations: 84.95 kB / 0.6276 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.5431, allocations: 3.938 kB / 0.6276 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.38e-05/0.5432, allocations: 4 kB / 0.6276 GB, free: 260 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.5432, allocations: 7.984 kB / 0.6276 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.5433, allocations: 9.047 kB / 0.6276 GB, free: 244 kB / 462.1 MB Notification: Performance of sorting global known variables: time 5.268e-05/0.5433, allocations: 83.28 kB / 0.6277 GB, free: 160 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5433, allocations: 3.938 kB / 0.6277 GB, free: 156 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006569/0.544, allocations: 151.8 kB / 0.6278 GB, free: 4 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.001376/0.5454, allocations: 0.915 MB / 0.6287 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.5455, allocations: 40.86 kB / 0.6288 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5455, allocations: 0 / 0.6288 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.366e-05/0.5456, allocations: 23.92 kB / 0.6288 GB, free: 15.01 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.5459, allocations: 12.42 kB / 0.6288 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/0.5466, allocations: 266.8 kB / 0.629 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.5468, allocations: 0.6812 MB / 0.6297 GB, free: 13.99 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 8.187e-05/0.5469, allocations: 24.06 kB / 0.6297 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.547, allocations: 23.44 kB / 0.6298 GB, free: 13.95 MB / 478.1 MB Notification: Performance of SimCode: time 2.7e-07/0.547, allocations: 0 / 0.6298 GB, free: 13.95 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.5693, allocations: 4.964 MB / 0.6346 GB, free: 9.035 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.848, allocations: 3.938 kB / 0.6346 GB, free: 9.031 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