Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001807/0.001807, allocations: 113.6 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002145/0.002145, allocations: 207.9 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.41/1.41, allocations: 230.4 MB / 250 MB, free: 9.008 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 63.83 kB / 367.3 MB, free: 7.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.235, allocations: 53.31 MB / 420.6 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3911/0.6261, allocations: 154.9 MB / 0.562 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.6275, allocations: 1.613 MB / 0.5636 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.6275, allocations: 7.406 kB / 0.5636 GB, free: 15.08 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.6278, allocations: 74.69 kB / 0.5637 GB, free: 15.08 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.6281, allocations: 161.7 kB / 0.5638 GB, free: 15.08 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.6303, allocations: 1.04 MB / 0.5649 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.6306, allocations: 357.8 kB / 0.5652 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.6307, allocations: 4.969 kB / 0.5652 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.6309, allocations: 167.3 kB / 0.5654 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.6311, allocations: 141.5 kB / 0.5655 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.6311, allocations: 12.84 kB / 0.5655 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.6332, allocations: 1.664 MB / 0.5671 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.095e-05/0.6333, allocations: 71.53 kB / 0.5672 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.6334, allocations: 103 kB / 0.5673 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.6346, allocations: 1.035 MB / 0.5683 GB, free: 14.96 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6346, allocations: 6.844 kB / 0.5683 GB, free: 14.95 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6346, allocations: 1.094 kB / 0.5683 GB, free: 14.95 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.6346, allocations: 0 / 0.5683 GB, free: 14.95 MB / 478.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.001723/0.6364, allocations: 0.7071 MB / 0.569 GB, free: 14.46 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.6364, allocations: 10.47 kB / 0.569 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.6365, allocations: 20.86 kB / 0.569 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.6368, allocations: 224.2 kB / 0.5693 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.6368, allocations: 12.59 kB / 0.5693 GB, free: 14.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.6369, allocations: 20.95 kB / 0.5693 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.6374, allocations: 266.4 kB / 0.5695 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.6374, allocations: 0 / 0.5695 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.955e-05/0.6374, allocations: 9.656 kB / 0.5695 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.6374, allocations: 9.922 kB / 0.5696 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/0.638, allocations: 269.5 kB / 0.5698 GB, free: 14.17 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.001388/0.6394, allocations: 0.7862 MB / 0.5706 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005893/0.64, allocations: 215.3 kB / 0.5708 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.6403, allocations: 126 kB / 0.5709 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003446/0.6406, allocations: 361.1 kB / 0.5713 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.6406, allocations: 43.36 kB / 0.5713 GB, free: 13.19 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.452e-06/0.6406, allocations: 1.094 kB / 0.5713 GB, free: 13.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002263/0.6429, allocations: 0.6861 MB / 0.572 GB, free: 13.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.643, allocations: 89.58 kB / 0.572 GB, free: 13 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.6431, allocations: 142 kB / 0.5722 GB, free: 12.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.6431, allocations: 28.95 kB / 0.5722 GB, free: 12.88 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.791e-05/0.6432, allocations: 113.2 kB / 0.5723 GB, free: 12.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.595e-05/0.6433, allocations: 134.1 kB / 0.5724 GB, free: 12.69 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.6434, allocations: 72.8 kB / 0.5725 GB, free: 12.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6435, allocations: 331 kB / 0.5728 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.6439, allocations: 136.8 kB / 0.573 GB, free: 12.35 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.6443, allocations: 208.7 kB / 0.5732 GB, free: 12.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007184/0.645, allocations: 364.7 kB / 0.5735 GB, free: 12.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.645, allocations: 2.75 kB / 0.5735 GB, free: 12.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008662/0.6459, allocations: 415.7 kB / 0.5739 GB, free: 12.13 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.6459, allocations: 4.906 kB / 0.5739 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6459, allocations: 1.969 kB / 0.5739 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.6459, allocations: 8.531 kB / 0.5739 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.6464, allocations: 89.42 kB / 0.574 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.6464, allocations: 5.469 kB / 0.574 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003176/0.6467, allocations: 26.78 kB / 0.574 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.6467, allocations: 19.17 kB / 0.5741 GB, free: 12.12 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.0001366/0.6469, allocations: 147.8 kB / 0.5742 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/0.6469, allocations: 21.28 kB / 0.5742 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.6473, allocations: 168.6 kB / 0.5744 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.6473, allocations: 6.062 kB / 0.5744 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6473, allocations: 6.109 kB / 0.5744 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6473, allocations: 1.203 kB / 0.5744 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.6489, allocations: 0.7812 MB / 0.5752 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.6489, allocations: 1.812 kB / 0.5752 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/0.6493, allocations: 75.14 kB / 0.5752 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.6493, allocations: 4.688 kB / 0.5752 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.6494, allocations: 13.36 kB / 0.5752 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.6494, allocations: 9.031 kB / 0.5753 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6494, allocations: 2.5 kB / 0.5753 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.6507, allocations: 0.709 MB / 0.576 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.6508, allocations: 133.1 kB / 0.5761 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.6509, allocations: 8.688 kB / 0.5761 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.6512, allocations: 23.44 kB / 0.5761 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.6513, allocations: 23.83 kB / 0.5761 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.6513, allocations: 15.38 kB / 0.5761 GB, free: 11.19 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.774e-05/0.6514, allocations: 104.6 kB / 0.5762 GB, free: 11.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6514, allocations: 0 / 0.5762 GB, free: 11.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005629/0.6519, allocations: 159.9 kB / 0.5764 GB, free: 11.09 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.0004381/0.6524, allocations: 244.9 kB / 0.5766 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008142/0.6532, allocations: 329 kB / 0.5769 GB, free: 10.97 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.6532, allocations: 2.25 kB / 0.5769 GB, free: 10.97 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.6536, allocations: 170.4 kB / 0.5771 GB, free: 10.96 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007026/0.6543, allocations: 108.1 kB / 0.5772 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.6557, allocations: 0.6365 MB / 0.5778 GB, free: 10.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.656, allocations: 0.7452 MB / 0.5786 GB, free: 9.898 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003097/0.6563, allocations: 77.8 kB / 0.5786 GB, free: 9.867 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.6565, allocations: 31.52 kB / 0.5787 GB, free: 9.863 MB / 478.1 MB Notification: Performance of SimCode: time 5.51e-07/0.6565, allocations: 6.906 kB / 0.5787 GB, free: 9.859 MB / 478.1 MB Notification: Performance of Templates: time 0.01062/0.6671, allocations: 6.393 MB / 0.5849 GB, free: 8.203 MB / 478.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches