Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008657/0.0008657, allocations: 94.72 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009183/0.0009183, allocations: 204.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002806, allocations: 8 kB / 306.6 MB, free: 1.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09092/0.09121, allocations: 51.49 MB / 358.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2017/0.293, allocations: 21.97 MB / 380 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.2951, allocations: 1.886 MB / 381.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.697e-05/0.2952, allocations: 0 / 381.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.2954, allocations: 45.39 kB / 382 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.2957, allocations: 117.7 kB / 382.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01463/0.3104, allocations: 4.763 MB / 386.8 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.3107, allocations: 178.2 kB / 387 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.613e-05/0.3108, allocations: 10.3 kB / 387 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.311, allocations: 124.9 kB / 387.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.3112, allocations: 84.69 kB / 387.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.3112, allocations: 8.062 kB / 387.2 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0187/0.33, allocations: 8.349 MB / 395.6 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.3301, allocations: 63.59 kB / 395.6 MB, free: 3.562 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.3303, allocations: 59.39 kB / 395.7 MB, free: 3.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00814/0.3384, allocations: 2.962 MB / 398.7 MB, free: 1.871 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3385, allocations: 0 / 398.7 MB, free: 1.871 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.3385, allocations: 0 / 398.7 MB, free: 1.871 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.3385, allocations: 0 / 398.7 MB, free: 1.871 MB / 302.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.004303/0.3428, allocations: 1.066 MB / 399.7 MB, free: 1.066 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3429, allocations: 14.78 kB / 399.7 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.343, allocations: 22.72 kB / 399.8 MB, free: 1.051 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.3433, allocations: 224.2 kB / 400 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3433, allocations: 11.7 kB / 400 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.3433, allocations: 16.83 kB / 400 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006417/0.344, allocations: 287.8 kB / 400.3 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.344, allocations: 0 / 400.3 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.344, allocations: 8 kB / 400.3 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.3441, allocations: 7.688 kB / 400.3 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007009/0.3448, allocations: 304.9 kB / 400.6 MB, free: 488 kB / 302.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.001321/0.3461, allocations: 0.8427 MB / 401.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006571/0.3468, allocations: 249.2 kB / 401.7 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01514/0.3619, allocations: 12.9 MB / 414.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.362, allocations: 38.56 kB / 414.6 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.255e-06/0.362, allocations: 0 / 414.6 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002811/0.3648, allocations: 0.6901 MB / 415.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.3649, allocations: 81.11 kB / 415.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.365, allocations: 137.6 kB / 415.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.365, allocations: 33.7 kB / 415.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.3651, allocations: 108.8 kB / 415.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.947e-05/0.3652, allocations: 122.2 kB / 415.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.3652, allocations: 8 kB / 415.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3653, allocations: 330.8 kB / 416.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.3657, allocations: 135.9 kB / 416.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/0.3662, allocations: 207.5 kB / 416.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.3666, allocations: 147.9 kB / 416.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3666, allocations: 4 kB / 416.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001089/0.3677, allocations: 412.4 kB / 417 MB, free: 14.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3678, allocations: 4.219 kB / 417 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3678, allocations: 8 kB / 417 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3678, allocations: 4 kB / 417 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.3683, allocations: 87.86 kB / 417.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.3683, allocations: 7.938 kB / 417.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.3686, allocations: 35.83 kB / 417.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.3687, allocations: 19.98 kB / 417.2 MB, free: 13.95 MB / 334.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.0001323/0.3688, allocations: 145.7 kB / 417.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.369, allocations: 15.81 kB / 417.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.3694, allocations: 201.3 kB / 417.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3694, allocations: 4 kB / 417.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3695, allocations: 0 / 417.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3695, allocations: 0 / 417.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.3711, allocations: 0.7753 MB / 418.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3711, allocations: 160 / 418.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.3716, allocations: 81.75 kB / 418.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3716, allocations: 4 kB / 418.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.3716, allocations: 8 kB / 418.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3716, allocations: 4 kB / 418.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3716, allocations: 11.88 kB / 418.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.3731, allocations: 0.7642 MB / 419.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.3733, allocations: 132.9 kB / 419.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.3733, allocations: 8 kB / 419.3 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.3737, allocations: 15.98 kB / 419.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.3737, allocations: 31.89 kB / 419.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.3738, allocations: 16 kB / 419.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.665e-05/0.3738, allocations: 95.27 kB / 419.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3738, allocations: 4 kB / 419.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002902/0.3767, allocations: 0.9486 MB / 420.4 MB, free: 10.52 MB / 334.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 (37): * Single equations (assignments): 37 * 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.003778/0.3805, allocations: 1.18 MB / 421.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009837/0.3815, allocations: 344.1 kB / 421.9 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3815, allocations: 0 / 421.9 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.382, allocations: 176.5 kB / 422.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.3826, allocations: 91.86 kB / 422.2 MB, free: 8.746 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.3839, allocations: 0.7021 MB / 422.9 MB, free: 8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.3842, allocations: 0.7452 MB / 423.7 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004116/0.3846, allocations: 85.83 kB / 423.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.3848, allocations: 39.39 kB / 423.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3848, allocations: 0 / 423.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of Templates: time 0.04194/0.4267, allocations: 29.66 MB / 453.4 MB, free: 9.465 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches