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.001511/0.001511, allocations: 121.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.001881/0.001881, allocations: 203.8 kB / 18.74 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.347/1.347, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2883, allocations: 50.54 MB / 408.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3722/0.6605, allocations: 154.4 MB / 0.55 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.6619, allocations: 1.615 MB / 0.5516 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.662, allocations: 0 / 0.5516 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.6623, allocations: 69.98 kB / 0.5516 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.6627, allocations: 167 kB / 0.5518 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.6649, allocations: 1.034 MB / 0.5528 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.6652, allocations: 353.2 kB / 0.5531 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.6653, allocations: 12.36 kB / 0.5531 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.6655, allocations: 161 kB / 0.5533 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.6657, allocations: 133 kB / 0.5534 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.6658, allocations: 13.25 kB / 0.5534 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.668, allocations: 1.623 MB / 0.555 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.6681, allocations: 71.55 kB / 0.5551 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.6682, allocations: 106.1 kB / 0.5552 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.6696, allocations: 1.027 MB / 0.5562 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6696, allocations: 0 / 0.5562 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6696, allocations: 0 / 0.5562 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.6697, allocations: 1.094 kB / 0.5562 GB, free: 0.5977 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.001597/0.6713, allocations: 0.7032 MB / 0.5569 GB, free: 16.11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.6713, allocations: 10.34 kB / 0.5569 GB, free: 16.11 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.255e-05/0.6714, allocations: 50.22 kB / 0.5569 GB, free: 16.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.6715, allocations: 22.31 kB / 0.557 GB, free: 16.06 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.6718, allocations: 226.1 kB / 0.5572 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.6718, allocations: 17.77 kB / 0.5572 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.6718, allocations: 16.86 kB / 0.5572 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.6723, allocations: 266.3 kB / 0.5575 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.6724, allocations: 3 kB / 0.5575 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.6724, allocations: 6.031 kB / 0.5575 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.6724, allocations: 5.281 kB / 0.5575 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/0.673, allocations: 267.5 kB / 0.5577 GB, free: 15.79 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.001301/0.6743, allocations: 0.7858 MB / 0.5585 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.6749, allocations: 225.1 kB / 0.5587 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.6752, allocations: 140.6 kB / 0.5588 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/0.6755, allocations: 357.6 kB / 0.5592 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.6755, allocations: 38.19 kB / 0.5592 GB, free: 14.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.794e-06/0.6755, allocations: 1.203 kB / 0.5592 GB, free: 14.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002272/0.6778, allocations: 0.6831 MB / 0.5599 GB, free: 14.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.6779, allocations: 80.7 kB / 0.56 GB, free: 14.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.678, allocations: 143.4 kB / 0.5601 GB, free: 14.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.6781, allocations: 32.7 kB / 0.5601 GB, free: 14.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.6781, allocations: 110.5 kB / 0.5602 GB, free: 14.38 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.6782, allocations: 124.9 kB / 0.5604 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.6784, allocations: 81.09 kB / 0.5604 GB, free: 14.28 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6785, allocations: 325.9 kB / 0.5607 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.6788, allocations: 136.5 kB / 0.5609 GB, free: 13.96 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.6792, allocations: 201 kB / 0.5611 GB, free: 13.89 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007465/0.68, allocations: 369 kB / 0.5614 GB, free: 13.81 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.68, allocations: 0 / 0.5614 GB, free: 13.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008739/0.6809, allocations: 411.7 kB / 0.5618 GB, free: 13.76 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.6809, allocations: 5.812 kB / 0.5618 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6809, allocations: 3.625 kB / 0.5618 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.6809, allocations: 3.297 kB / 0.5618 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.6814, allocations: 90.81 kB / 0.5619 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.6814, allocations: 6.391 kB / 0.5619 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.6817, allocations: 31.47 kB / 0.562 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.6818, allocations: 17.27 kB / 0.562 GB, free: 13.74 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.0001294/0.6819, allocations: 143.5 kB / 0.5621 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.259e-05/0.682, allocations: 22.62 kB / 0.5621 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.6823, allocations: 181.2 kB / 0.5623 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6823, allocations: 5.812 kB / 0.5623 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.6824, allocations: 4 kB / 0.5623 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.6824, allocations: 6.844 kB / 0.5623 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.684, allocations: 0.7786 MB / 0.5631 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.684, allocations: 0 / 0.5631 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.6845, allocations: 82.38 kB / 0.5632 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.6845, allocations: 3.406 kB / 0.5632 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.6846, allocations: 12.7 kB / 0.5632 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6846, allocations: 1.812 kB / 0.5632 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6846, allocations: 3.406 kB / 0.5632 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.6859, allocations: 0.7123 MB / 0.5639 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.686, allocations: 119.3 kB / 0.564 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.6861, allocations: 9.531 kB / 0.564 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.6865, allocations: 27.91 kB / 0.564 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.6866, allocations: 25.88 kB / 0.564 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.6866, allocations: 17.05 kB / 0.5641 GB, free: 12.81 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.768e-05/0.6867, allocations: 103.8 kB / 0.5642 GB, free: 12.74 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6867, allocations: 1.203 kB / 0.5642 GB, free: 12.74 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006129/0.6873, allocations: 160 kB / 0.5643 GB, free: 12.71 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.001972/0.6893, allocations: 1.39 MB / 0.5657 GB, free: 11.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008491/0.6901, allocations: 356.3 kB / 0.566 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6902, allocations: 0 / 0.566 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.6905, allocations: 175.6 kB / 0.5662 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/0.6913, allocations: 110 kB / 0.5663 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/0.6957, allocations: 2.913 MB / 0.5691 GB, free: 10.17 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.696, allocations: 0.742 MB / 0.5699 GB, free: 9.469 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003222/0.6963, allocations: 79.42 kB / 0.5699 GB, free: 9.438 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.6965, allocations: 71.69 kB / 0.57 GB, free: 9.434 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6965, allocations: 0 / 0.57 GB, free: 9.434 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6076/1.304, allocations: 8.696 MB / 0.5785 GB, free: 8.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/9.207, allocations: 7.375 kB / 0.5785 GB, free: 8.496 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