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.001396/0.001397, allocations: 118.8 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.5 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 68.67 kB / 306.5 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.09461, allocations: 50.54 MB / 357 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1778/0.2725, allocations: 26.79 MB / 383.8 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.2747, allocations: 2.249 MB / 386.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.2748, allocations: 1.406 kB / 386.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.2752, allocations: 59.33 kB / 386.1 MB, free: 5.961 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.2755, allocations: 162.7 kB / 386.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01579/0.2913, allocations: 5.864 MB / 392.2 MB, free: 3.246 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.2918, allocations: 341.9 kB / 392.5 MB, free: 3.066 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.301e-05/0.2919, allocations: 16.86 kB / 392.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.2921, allocations: 144 kB / 392.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.2923, allocations: 137 kB / 392.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.2923, allocations: 13 kB / 392.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01545/0.3077, allocations: 9.471 MB / 402.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.3079, allocations: 65.47 kB / 402.3 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.3081, allocations: 102.3 kB / 402.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.3184, allocations: 4.827 MB / 407.3 MB, free: 9.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3184, allocations: 0 / 407.3 MB, free: 9.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3184, allocations: 0 / 407.3 MB, free: 9.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.3184, allocations: 0 / 407.3 MB, free: 9.617 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.003271/0.3217, allocations: 1.139 MB / 408.4 MB, free: 8.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3218, allocations: 16.02 kB / 408.4 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.3219, allocations: 28.69 kB / 408.4 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.3222, allocations: 227.5 kB / 408.7 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3222, allocations: 8.328 kB / 408.7 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.3223, allocations: 16 kB / 408.7 MB, free: 8.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007673/0.3231, allocations: 285.4 kB / 409 MB, free: 7.812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3231, allocations: 3.938 kB / 409 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.3231, allocations: 8 kB / 409 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.3232, allocations: 8 kB / 409 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008108/0.324, allocations: 311.7 kB / 409.3 MB, free: 7.488 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.00154/0.3255, allocations: 0.8519 MB / 410.1 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007402/0.3263, allocations: 249.2 kB / 410.4 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.3266, allocations: 134.5 kB / 410.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0177/0.3443, allocations: 12.83 MB / 423.3 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.3444, allocations: 38.56 kB / 423.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.3444, allocations: 0 / 423.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002996/0.3474, allocations: 0.7049 MB / 424.1 MB, free: 6.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.3475, allocations: 81.11 kB / 424.2 MB, free: 5.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.3477, allocations: 149.5 kB / 424.3 MB, free: 5.805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.663e-05/0.3477, allocations: 29.7 kB / 424.3 MB, free: 5.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.312e-05/0.3478, allocations: 116.8 kB / 424.4 MB, free: 5.652 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.348, allocations: 118.2 kB / 424.6 MB, free: 5.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.3481, allocations: 73.64 kB / 424.6 MB, free: 5.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3483, allocations: 334.8 kB / 425 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.3487, allocations: 139.8 kB / 425.1 MB, free: 4.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005103/0.3492, allocations: 207.6 kB / 425.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009886/0.3502, allocations: 359.1 kB / 425.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3502, allocations: 4 kB / 425.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00122/0.3514, allocations: 420.4 kB / 426.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.3515, allocations: 8 kB / 426.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3515, allocations: 2.906 kB / 426.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3515, allocations: 4 kB / 426.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/0.352, allocations: 104 kB / 426.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.352, allocations: 7.938 kB / 426.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.3523, allocations: 27.83 kB / 426.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.3524, allocations: 19.98 kB / 426.2 MB, free: 3.793 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.0001678/0.3526, allocations: 138.9 kB / 426.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.3527, allocations: 23.8 kB / 426.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005191/0.3532, allocations: 200.8 kB / 426.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3533, allocations: 4 kB / 426.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.3533, allocations: 7.938 kB / 426.6 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.3533, allocations: 4 kB / 426.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.3551, allocations: 0.7714 MB / 427.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.3552, allocations: 4 kB / 427.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.3556, allocations: 79.88 kB / 427.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.3556, allocations: 4 kB / 427.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.3557, allocations: 20.02 kB / 427.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.3557, allocations: 4 kB / 427.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3557, allocations: 0 / 427.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.3573, allocations: 0.7249 MB / 428.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.3575, allocations: 124.8 kB / 428.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.3575, allocations: 8 kB / 428.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.3579, allocations: 19.97 kB / 428.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.358, allocations: 27.91 kB / 428.4 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.358, allocations: 16 kB / 428.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.259e-05/0.3581, allocations: 109.5 kB / 428.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3581, allocations: 8.062 kB / 428.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002653/0.3608, allocations: 0.9525 MB / 429.5 MB, free: 432 kB / 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.003998/0.3648, allocations: 1.253 MB / 430.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.3659, allocations: 363.9 kB / 431.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3659, allocations: 4 kB / 431.1 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004978/0.3664, allocations: 183.7 kB / 431.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/0.3672, allocations: 101 kB / 431.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.3687, allocations: 0.7053 MB / 432.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.3691, allocations: 0.7374 MB / 432.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000426/0.3696, allocations: 86.22 kB / 432.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.3697, allocations: 39.41 kB / 432.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3697, allocations: 3.938 kB / 432.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of Templates: time 0.04392/0.4137, allocations: 29.9 MB / 462.8 MB, free: 15.01 MB / 382.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.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches