Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_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.001647/0.001647, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002167/0.002167, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001322, allocations: 68.08 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2463, allocations: 50.55 MB / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3863/0.6327, allocations: 154.4 MB / 0.55 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.6342, allocations: 1.622 MB / 0.5516 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.6343, allocations: 2.031 kB / 0.5516 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003358/0.6347, allocations: 64.59 kB / 0.5516 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.6351, allocations: 166.5 kB / 0.5518 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.6376, allocations: 1.027 MB / 0.5528 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004026/0.638, allocations: 354.2 kB / 0.5531 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.6381, allocations: 13.19 kB / 0.5531 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.6383, allocations: 166.5 kB / 0.5533 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.6386, allocations: 127.8 kB / 0.5534 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.6386, allocations: 12.97 kB / 0.5534 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.641, allocations: 1.625 MB / 0.555 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.6412, allocations: 75.11 kB / 0.5551 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.6413, allocations: 102.2 kB / 0.5552 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.6429, allocations: 1.04 MB / 0.5562 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.643, allocations: 0 / 0.5562 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.643, allocations: 0 / 0.5562 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.643, allocations: 0 / 0.5562 GB, free: 0.5703 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001822/0.6448, allocations: 0.6971 MB / 0.5569 GB, free: 16.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.6449, allocations: 11.25 kB / 0.5569 GB, free: 16.09 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.146e-05/0.6449, allocations: 54.03 kB / 0.5569 GB, free: 16.05 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.6451, allocations: 18.78 kB / 0.557 GB, free: 16.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.6453, allocations: 224.2 kB / 0.5572 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.6453, allocations: 14.48 kB / 0.5572 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.6454, allocations: 17.88 kB / 0.5572 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.6459, allocations: 263.1 kB / 0.5575 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.6459, allocations: 1.094 kB / 0.5575 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.646, allocations: 7.125 kB / 0.5575 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.646, allocations: 10.84 kB / 0.5575 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005361/0.6465, allocations: 271.3 kB / 0.5577 GB, free: 15.77 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.6479, allocations: 0.7846 MB / 0.5585 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/0.6485, allocations: 225.5 kB / 0.5587 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.6487, allocations: 142.3 kB / 0.5588 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/0.6491, allocations: 353.8 kB / 0.5592 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.6491, allocations: 40.06 kB / 0.5592 GB, free: 14.78 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.904e-06/0.6491, allocations: 2.531 kB / 0.5592 GB, free: 14.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002202/0.6513, allocations: 0.6844 MB / 0.5599 GB, free: 14.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.6514, allocations: 81.09 kB / 0.56 GB, free: 14.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.6515, allocations: 142.5 kB / 0.5601 GB, free: 14.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.6516, allocations: 32.08 kB / 0.5601 GB, free: 14.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.6516, allocations: 111 kB / 0.5602 GB, free: 14.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/0.6517, allocations: 123.3 kB / 0.5604 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.6519, allocations: 75.86 kB / 0.5604 GB, free: 14.26 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.652, allocations: 326 kB / 0.5607 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.6523, allocations: 137.6 kB / 0.5609 GB, free: 13.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.6527, allocations: 211.1 kB / 0.5611 GB, free: 13.87 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006928/0.6534, allocations: 358.7 kB / 0.5614 GB, free: 13.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6534, allocations: 2.5 kB / 0.5614 GB, free: 13.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008259/0.6542, allocations: 412.3 kB / 0.5618 GB, free: 13.74 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6542, allocations: 5.062 kB / 0.5618 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6543, allocations: 9 kB / 0.5618 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.6543, allocations: 3.281 kB / 0.5618 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.6548, allocations: 88.92 kB / 0.5619 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.6548, allocations: 7.625 kB / 0.5619 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.6551, allocations: 28.33 kB / 0.562 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.6551, allocations: 15.84 kB / 0.562 GB, free: 13.73 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * 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.0001534/0.6553, allocations: 143.8 kB / 0.5621 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.6554, allocations: 21.94 kB / 0.5621 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/0.6557, allocations: 180.5 kB / 0.5623 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.6558, allocations: 9.062 kB / 0.5623 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.6558, allocations: 0 / 0.5623 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.6558, allocations: 6.844 kB / 0.5623 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.6574, allocations: 0.776 MB / 0.5631 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6574, allocations: 0 / 0.5631 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/0.6578, allocations: 80.66 kB / 0.5631 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.6579, allocations: 2.25 kB / 0.5631 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.6579, allocations: 14.91 kB / 0.5632 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.6579, allocations: 3.219 kB / 0.5632 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.6579, allocations: 10 kB / 0.5632 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.6592, allocations: 0.7181 MB / 0.5639 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.6593, allocations: 121 kB / 0.564 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.6594, allocations: 6 kB / 0.564 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.6598, allocations: 23.69 kB / 0.564 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.6598, allocations: 22.19 kB / 0.564 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.6599, allocations: 13.12 kB / 0.5641 GB, free: 12.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.587e-05/0.6599, allocations: 112.3 kB / 0.5642 GB, free: 12.72 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6599, allocations: 0 / 0.5642 GB, free: 12.72 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006568/0.6606, allocations: 159.8 kB / 0.5643 GB, free: 12.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * 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.001976/0.6626, allocations: 1.389 MB / 0.5657 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008487/0.6635, allocations: 347.7 kB / 0.566 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6635, allocations: 3.406 kB / 0.566 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.6639, allocations: 179.5 kB / 0.5662 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007401/0.6646, allocations: 109.2 kB / 0.5663 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.6691, allocations: 2.915 MB / 0.5691 GB, free: 10.15 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.6694, allocations: 0.7419 MB / 0.5699 GB, free: 9.453 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003405/0.6698, allocations: 81.52 kB / 0.5699 GB, free: 9.422 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.67, allocations: 69.28 kB / 0.57 GB, free: 9.418 MB / 478.1 MB Notification: Performance of SimCode: time 2.064e-06/0.67, allocations: 0 / 0.57 GB, free: 9.418 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.6992, allocations: 8.69 MB / 0.5785 GB, free: 8.445 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.499, allocations: 9.25 kB / 0.5785 GB, free: 8.445 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches