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: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007952/0.0007952, allocations: 96.5 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008997/0.0008998, allocations: 202.5 kB / 17.91 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.7 MB / 246.4 MB, free: 9.824 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002009/0.0002009, allocations: 8 kB / 307.1 MB, free: 0.9883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08159/0.08181, allocations: 51.53 MB / 358.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2908/0.3726, allocations: 140.4 MB / 499 MB, free: 15.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3743, allocations: 1.492 MB / 0.4887 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.3744, allocations: 0 / 0.4887 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.3747, allocations: 42.69 kB / 0.4888 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.375, allocations: 155.1 kB / 0.4889 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.3771, allocations: 0.77 MB / 0.4897 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000399/0.3775, allocations: 422.3 kB / 0.4901 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.3775, allocations: 17.55 kB / 0.4901 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.3777, allocations: 147.5 kB / 0.4902 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.378, allocations: 131.6 kB / 0.4904 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.378, allocations: 8 kB / 0.4904 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.3801, allocations: 1.334 MB / 0.4917 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.457e-05/0.3802, allocations: 75.81 kB / 0.4918 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.3803, allocations: 57.64 kB / 0.4918 GB, free: 11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008045/0.3811, allocations: 0.6603 MB / 0.4925 GB, free: 10.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3811, allocations: 0 / 0.4925 GB, free: 10.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3811, allocations: 0 / 0.4925 GB, free: 10.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.3811, allocations: 0 / 0.4925 GB, free: 10.34 MB / 414.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.001431/0.3826, allocations: 0.6556 MB / 0.4931 GB, free: 9.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.3826, allocations: 8.031 kB / 0.4931 GB, free: 9.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.3827, allocations: 28.58 kB / 0.4931 GB, free: 9.605 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.383, allocations: 214.8 kB / 0.4933 GB, free: 9.355 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.383, allocations: 16.33 kB / 0.4933 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.383, allocations: 19.95 kB / 0.4934 GB, free: 9.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.3836, allocations: 265.4 kB / 0.4936 GB, free: 9.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3836, allocations: 0 / 0.4936 GB, free: 9.051 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.3836, allocations: 4 kB / 0.4936 GB, free: 9.047 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.3837, allocations: 8 kB / 0.4936 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005889/0.3842, allocations: 268.8 kB / 0.4939 GB, free: 8.777 MB / 414.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.001296/0.3856, allocations: 0.8014 MB / 0.4947 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.3861, allocations: 220.5 kB / 0.4949 GB, free: 7.664 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.3864, allocations: 134.3 kB / 0.495 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/0.3867, allocations: 356.4 kB / 0.4954 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.3868, allocations: 42.31 kB / 0.4954 GB, free: 7.059 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.452e-06/0.3868, allocations: 0 / 0.4954 GB, free: 7.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002189/0.389, allocations: 0.6921 MB / 0.4961 GB, free: 6.363 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.389, allocations: 81.11 kB / 0.4961 GB, free: 6.266 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3891, allocations: 137.8 kB / 0.4963 GB, free: 6.121 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.3892, allocations: 33.7 kB / 0.4963 GB, free: 6.082 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.3892, allocations: 108.8 kB / 0.4964 GB, free: 5.973 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.4e-05/0.3893, allocations: 130.1 kB / 0.4965 GB, free: 5.844 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.3894, allocations: 4 kB / 0.4965 GB, free: 5.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3895, allocations: 334.8 kB / 0.4969 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.3898, allocations: 131.9 kB / 0.497 GB, free: 5.375 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.3902, allocations: 211.5 kB / 0.4972 GB, free: 5.141 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.3906, allocations: 151.4 kB / 0.4973 GB, free: 4.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3906, allocations: 3.953 kB / 0.4973 GB, free: 4.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008817/0.3915, allocations: 405.1 kB / 0.4977 GB, free: 4.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3915, allocations: 8 kB / 0.4977 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3915, allocations: 0 / 0.4977 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3915, allocations: 4 kB / 0.4977 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.392, allocations: 91.81 kB / 0.4978 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.392, allocations: 4 kB / 0.4978 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.3923, allocations: 36.12 kB / 0.4979 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.3924, allocations: 12 kB / 0.4979 GB, free: 4.438 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.3925, allocations: 145.7 kB / 0.498 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.361e-05/0.3926, allocations: 27.67 kB / 0.498 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.393, allocations: 182.7 kB / 0.4982 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.393, allocations: 4 kB / 0.4982 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.393, allocations: 0 / 0.4982 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.393, allocations: 0 / 0.4982 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.3945, allocations: 0.7818 MB / 0.499 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3946, allocations: 0 / 0.499 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.395, allocations: 75.89 kB / 0.499 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.395, allocations: 4 kB / 0.4991 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.3951, allocations: 15.94 kB / 0.4991 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.3951, allocations: 4 kB / 0.4991 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3951, allocations: 4 kB / 0.4991 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.3963, allocations: 0.7074 MB / 0.4998 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.3965, allocations: 124.7 kB / 0.4999 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.3965, allocations: 11.95 kB / 0.4999 GB, free: 2.215 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.3969, allocations: 26.48 kB / 0.4999 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.3969, allocations: 27.91 kB / 0.4999 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.3969, allocations: 15.98 kB / 0.5 GB, free: 2.148 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.757e-05/0.397, allocations: 103.2 kB / 0.5001 GB, free: 2.047 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.397, allocations: 0 / 0.5001 GB, free: 2.047 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005395/0.3976, allocations: 151.9 kB / 0.5002 GB, free: 1.898 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004238/0.398, allocations: 246.9 kB / 0.5004 GB, free: 1.648 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008128/0.3988, allocations: 349.1 kB / 0.5008 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3988, allocations: 0 / 0.5008 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.3992, allocations: 183.1 kB / 0.5009 GB, free: 1.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007046/0.3999, allocations: 106.7 kB / 0.5011 GB, free: 1.035 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.4013, allocations: 0.7701 MB / 0.5018 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.4016, allocations: 0.7377 MB / 0.5025 GB, free: 15.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003912/0.402, allocations: 78.23 kB / 0.5026 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.4022, allocations: 35.42 kB / 0.5026 GB, free: 15.35 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4022, allocations: 0 / 0.5026 GB, free: 15.35 MB / 430.1 MB Notification: Performance of Templates: time 0.01032/0.4125, allocations: 5.929 MB / 0.5084 GB, free: 9.473 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile (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 & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches