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.001595/0.001595, allocations: 117.6 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.00184, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 63.89 kB / 358.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2151, allocations: 50.56 MB / 408.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3738/0.5889, allocations: 154.4 MB / 0.5501 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.5902, allocations: 1.613 MB / 0.5516 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.5903, allocations: 2.875 kB / 0.5516 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.5906, allocations: 70.97 kB / 0.5517 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.5909, allocations: 164.1 kB / 0.5519 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.5929, allocations: 1.031 MB / 0.5529 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.5932, allocations: 355.2 kB / 0.5532 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.5932, allocations: 9.625 kB / 0.5532 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.5934, allocations: 155.6 kB / 0.5534 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.5936, allocations: 137.6 kB / 0.5535 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.5937, allocations: 13.03 kB / 0.5535 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.5956, allocations: 1.628 MB / 0.5551 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.98e-05/0.5957, allocations: 74.91 kB / 0.5552 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.5958, allocations: 99.38 kB / 0.5553 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.5969, allocations: 1.039 MB / 0.5563 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5969, allocations: 0 / 0.5563 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5969, allocations: 1.203 kB / 0.5563 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.597, allocations: 0 / 0.5563 GB, free: 0.5781 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.001554/0.5985, allocations: 0.7167 MB / 0.557 GB, free: 16.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.5986, allocations: 11.03 kB / 0.557 GB, free: 16.07 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/0.5986, allocations: 52.34 kB / 0.557 GB, free: 16.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.5987, allocations: 22.19 kB / 0.5571 GB, free: 16.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.599, allocations: 216 kB / 0.5573 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.599, allocations: 16.2 kB / 0.5573 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.599, allocations: 19.17 kB / 0.5573 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.5995, allocations: 262.8 kB / 0.5575 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5996, allocations: 0 / 0.5575 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.5996, allocations: 7.125 kB / 0.5576 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.5996, allocations: 8.125 kB / 0.5576 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005682/0.6002, allocations: 274.5 kB / 0.5578 GB, free: 15.76 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.001243/0.6014, allocations: 0.7877 MB / 0.5586 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.602, allocations: 232.5 kB / 0.5588 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.6023, allocations: 134.2 kB / 0.5589 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003366/0.6026, allocations: 356.3 kB / 0.5593 GB, free: 14.81 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.6027, allocations: 37.84 kB / 0.5593 GB, free: 14.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.432e-06/0.6027, allocations: 1.094 kB / 0.5593 GB, free: 14.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002223/0.6049, allocations: 0.6836 MB / 0.56 GB, free: 14.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.605, allocations: 89.19 kB / 0.5601 GB, free: 14.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.602e-05/0.6051, allocations: 134 kB / 0.5602 GB, free: 14.49 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.6051, allocations: 36.42 kB / 0.5602 GB, free: 14.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.6052, allocations: 112.1 kB / 0.5603 GB, free: 14.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.221e-05/0.6053, allocations: 129.6 kB / 0.5605 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.6054, allocations: 76.41 kB / 0.5605 GB, free: 14.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.6055, allocations: 327.7 kB / 0.5608 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.6059, allocations: 136.3 kB / 0.561 GB, free: 13.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.6063, allocations: 203.4 kB / 0.5612 GB, free: 13.86 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007529/0.6071, allocations: 368 kB / 0.5615 GB, free: 13.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6071, allocations: 0 / 0.5615 GB, free: 13.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008715/0.6079, allocations: 416.3 kB / 0.5619 GB, free: 13.72 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.608, allocations: 3.188 kB / 0.5619 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.608, allocations: 5.125 kB / 0.5619 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.608, allocations: 4.625 kB / 0.5619 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.6084, allocations: 85.77 kB / 0.562 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.6085, allocations: 10.03 kB / 0.562 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.6088, allocations: 34.77 kB / 0.5621 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.6088, allocations: 13.59 kB / 0.5621 GB, free: 13.71 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.0001323/0.609, allocations: 142.7 kB / 0.5622 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.609, allocations: 17.88 kB / 0.5622 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.6094, allocations: 179 kB / 0.5624 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.6094, allocations: 3.188 kB / 0.5624 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6094, allocations: 0.75 kB / 0.5624 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.6094, allocations: 10.14 kB / 0.5624 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.611, allocations: 0.7827 MB / 0.5632 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.611, allocations: 2.75 kB / 0.5632 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.6114, allocations: 73.48 kB / 0.5632 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.6114, allocations: 4.875 kB / 0.5632 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.6115, allocations: 20.06 kB / 0.5633 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6115, allocations: 3.375 kB / 0.5633 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6115, allocations: 0 / 0.5633 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.6128, allocations: 0.7169 MB / 0.564 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.6129, allocations: 124.7 kB / 0.5641 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.613, allocations: 12.19 kB / 0.5641 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.6133, allocations: 21.36 kB / 0.5641 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.6134, allocations: 28.11 kB / 0.5641 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.6134, allocations: 17.47 kB / 0.5642 GB, free: 12.78 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.701e-05/0.6135, allocations: 102.9 kB / 0.5643 GB, free: 12.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.6135, allocations: 0 / 0.5643 GB, free: 12.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005469/0.614, allocations: 159.9 kB / 0.5644 GB, free: 12.68 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.001898/0.6159, allocations: 1.399 MB / 0.5658 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008061/0.6168, allocations: 349.1 kB / 0.5661 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6168, allocations: 0 / 0.5661 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.6171, allocations: 173.7 kB / 0.5663 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006984/0.6178, allocations: 116.2 kB / 0.5664 GB, free: 11.81 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.6222, allocations: 2.922 MB / 0.5692 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.6226, allocations: 0.7438 MB / 0.57 GB, free: 9.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003032/0.6229, allocations: 76.39 kB / 0.57 GB, free: 9.383 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.6231, allocations: 76.25 kB / 0.5701 GB, free: 9.375 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6231, allocations: 0 / 0.5701 GB, free: 9.375 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.6525, allocations: 8.585 MB / 0.5785 GB, free: 8.461 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.603, allocations: 7.062 kB / 0.5785 GB, free: 8.457 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.1.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