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.001578/0.001578, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001975/0.001975, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 62.47 kB / 306.9 MB, free: 1.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.104, allocations: 50.53 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1918/0.2958, allocations: 28.44 MB / 385.9 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.2983, allocations: 2.358 MB / 388.2 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.2985, allocations: 0 / 388.2 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.2989, allocations: 57.55 kB / 388.3 MB, free: 5.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.2993, allocations: 160.1 kB / 388.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01507/0.3143, allocations: 5.395 MB / 393.8 MB, free: 2.539 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005181/0.3149, allocations: 0.4912 MB / 394.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.3149, allocations: 13.09 kB / 394.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.3152, allocations: 129.1 kB / 394.5 MB, free: 2.211 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.3154, allocations: 133.5 kB / 394.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.3154, allocations: 7.75 kB / 394.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01633/0.3317, allocations: 9.597 MB / 404.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.3319, allocations: 63.62 kB / 404.3 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.3321, allocations: 105.2 kB / 404.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00615/0.3383, allocations: 3.205 MB / 407.6 MB, free: 9.941 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3383, allocations: 0 / 407.6 MB, free: 9.941 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3383, allocations: 0 / 407.6 MB, free: 9.941 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.3383, allocations: 4 kB / 407.6 MB, free: 9.938 MB / 318.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.003078/0.3414, allocations: 1.139 MB / 408.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3414, allocations: 8.031 kB / 408.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.3416, allocations: 24.75 kB / 408.7 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.3418, allocations: 218.7 kB / 409 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.3419, allocations: 12.33 kB / 409 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.3419, allocations: 20 kB / 409 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000717/0.3426, allocations: 289.4 kB / 409.3 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.3427, allocations: 7.812 kB / 409.3 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.3427, allocations: 8 kB / 409.3 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.3427, allocations: 8 kB / 409.3 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007799/0.3435, allocations: 315.7 kB / 409.6 MB, free: 7.812 MB / 318.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.00141/0.3449, allocations: 0.8249 MB / 410.4 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.3457, allocations: 254 kB / 410.7 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.346, allocations: 145.6 kB / 410.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0157/0.3617, allocations: 12.85 MB / 423.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.3618, allocations: 38.98 kB / 423.7 MB, free: 7.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.914e-06/0.3618, allocations: 0 / 423.7 MB, free: 7.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.003106/0.3649, allocations: 0.7055 MB / 424.4 MB, free: 6.375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.365, allocations: 88.98 kB / 424.5 MB, free: 6.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3651, allocations: 141.6 kB / 424.6 MB, free: 6.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.3652, allocations: 33.7 kB / 424.7 MB, free: 6.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.3652, allocations: 112.8 kB / 424.8 MB, free: 5.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.3653, allocations: 130.2 kB / 424.9 MB, free: 5.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.3655, allocations: 69.64 kB / 425 MB, free: 5.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.3656, allocations: 338.8 kB / 425.3 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.366, allocations: 127.9 kB / 425.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.3665, allocations: 211.6 kB / 425.6 MB, free: 5.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009208/0.3674, allocations: 363 kB / 426 MB, free: 4.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3675, allocations: 0 / 426 MB, free: 4.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00119/0.3686, allocations: 417.1 kB / 426.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3687, allocations: 4 kB / 426.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3687, allocations: 4 kB / 426.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3687, allocations: 7.984 kB / 426.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.3692, allocations: 91.81 kB / 426.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.3692, allocations: 7.938 kB / 426.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.3696, allocations: 32.05 kB / 426.5 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.3696, allocations: 23.98 kB / 426.6 MB, free: 4.105 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.3698, allocations: 142.8 kB / 426.7 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.3699, allocations: 19.81 kB / 426.7 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004896/0.3704, allocations: 190.6 kB / 426.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.3705, allocations: 7.984 kB / 426.9 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.3705, allocations: 3.938 kB / 426.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.3705, allocations: 0 / 426.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.3723, allocations: 0.7792 MB / 427.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3723, allocations: 7.938 kB / 427.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004695/0.3728, allocations: 79.88 kB / 427.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.3728, allocations: 4 kB / 427.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.3728, allocations: 11.98 kB / 427.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3728, allocations: 4 kB / 427.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.3728, allocations: 6.938 kB / 427.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.3744, allocations: 0.7195 MB / 428.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.3746, allocations: 124.8 kB / 428.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.3746, allocations: 12 kB / 428.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.375, allocations: 28.03 kB / 428.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.3751, allocations: 27.91 kB / 428.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.3751, allocations: 11.98 kB / 428.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.239e-05/0.3752, allocations: 109.8 kB / 428.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3752, allocations: 0 / 428.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002658/0.3779, allocations: 0.9526 MB / 429.8 MB, free: 0.7422 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 (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.004482/0.3824, allocations: 1.254 MB / 431 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.3834, allocations: 354.6 kB / 431.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3835, allocations: 0 / 431.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004725/0.3839, allocations: 184.5 kB / 431.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/0.3847, allocations: 103.8 kB / 431.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.3862, allocations: 0.7277 MB / 432.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.3865, allocations: 0.7416 MB / 433.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.3867, allocations: 47.41 kB / 433.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of SimCode: time 1.653e-06/0.3867, allocations: 0 / 433.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of Templates: time 0.02992/0.4166, allocations: 20.17 MB / 453.4 MB, free: 9.094 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches