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.001475/0.001475, allocations: 114 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.001813/0.001813, allocations: 205.8 kB / 18.27 MB, free: 5.094 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.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 55.52 kB / 306.4 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08116/0.08229, allocations: 50.54 MB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1689/0.2512, allocations: 26.79 MB / 383.8 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.2535, allocations: 2.253 MB / 386 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.255e-05/0.2536, allocations: 1.344 kB / 386 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.254, allocations: 59.83 kB / 386.1 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.2543, allocations: 153.4 kB / 386.2 MB, free: 5.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01475/0.2691, allocations: 5.875 MB / 392.1 MB, free: 3.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.2695, allocations: 342 kB / 392.4 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.2695, allocations: 10.09 kB / 392.4 MB, free: 3.117 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.2697, allocations: 143.1 kB / 392.6 MB, free: 3.047 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.2699, allocations: 137.7 kB / 392.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.27, allocations: 11.94 kB / 392.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01404/0.284, allocations: 9.478 MB / 402.2 MB, free: 14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.2842, allocations: 66.05 kB / 402.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.2843, allocations: 101.2 kB / 402.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009405/0.2938, allocations: 4.826 MB / 407.2 MB, free: 9.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2938, allocations: 0 / 407.2 MB, free: 9.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2938, allocations: 0 / 407.2 MB, free: 9.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2938, allocations: 0 / 407.2 MB, free: 9.672 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.003274/0.2971, allocations: 1.139 MB / 408.3 MB, free: 8.484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2971, allocations: 8.031 kB / 408.3 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.2973, allocations: 28.73 kB / 408.4 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.2975, allocations: 222.7 kB / 408.6 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.2976, allocations: 22.41 kB / 408.6 MB, free: 8.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/0.2976, allocations: 12 kB / 408.6 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000694/0.2983, allocations: 281.5 kB / 408.9 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.2983, allocations: 0 / 408.9 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/0.2984, allocations: 19.92 kB / 408.9 MB, free: 7.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.2984, allocations: 4 kB / 408.9 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007536/0.2992, allocations: 311.7 kB / 409.2 MB, free: 7.547 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.0014/0.3006, allocations: 0.8442 MB / 410.1 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006776/0.3013, allocations: 252.3 kB / 410.3 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.3016, allocations: 130.2 kB / 410.4 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01496/0.3165, allocations: 12.85 MB / 423.3 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.3166, allocations: 38.5 kB / 423.3 MB, free: 6.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.044e-06/0.3166, allocations: 0 / 423.3 MB, free: 6.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002815/0.3194, allocations: 0.6996 MB / 424 MB, free: 6.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.3195, allocations: 81.11 kB / 424.1 MB, free: 6.016 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.3196, allocations: 149.5 kB / 424.3 MB, free: 5.859 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.3197, allocations: 33.7 kB / 424.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.3198, allocations: 108.8 kB / 424.4 MB, free: 5.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.904e-05/0.3199, allocations: 126.2 kB / 424.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.32, allocations: 77.56 kB / 424.6 MB, free: 5.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.3201, allocations: 330.8 kB / 424.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.3205, allocations: 135.9 kB / 425 MB, free: 5.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/0.321, allocations: 219.5 kB / 425.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008984/0.3219, allocations: 361.4 kB / 425.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3219, allocations: 0 / 425.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001132/0.323, allocations: 416.4 kB / 426 MB, free: 4.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3231, allocations: 8 kB / 426 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3231, allocations: 4.156 kB / 426 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3231, allocations: 11.98 kB / 426 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.3236, allocations: 91.88 kB / 426.1 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.3236, allocations: 11.88 kB / 426.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.3239, allocations: 31.83 kB / 426.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.324, allocations: 18.17 kB / 426.2 MB, free: 3.84 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.0001433/0.3241, allocations: 146.9 kB / 426.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.3243, allocations: 19.81 kB / 426.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004854/0.3248, allocations: 189.6 kB / 426.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3248, allocations: 7.938 kB / 426.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3248, allocations: 3.938 kB / 426.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.3248, allocations: 4 kB / 426.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.3265, allocations: 0.7691 MB / 427.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3265, allocations: 0 / 427.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004302/0.3269, allocations: 88.03 kB / 427.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.327, allocations: 0 / 427.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.327, allocations: 15.98 kB / 427.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.327, allocations: 7.938 kB / 427.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.327, allocations: 0 / 427.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.3286, allocations: 0.7209 MB / 428.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.3287, allocations: 120.8 kB / 428.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.3288, allocations: 11.94 kB / 428.3 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.3291, allocations: 23.97 kB / 428.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.3292, allocations: 31.97 kB / 428.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.3292, allocations: 19.98 kB / 428.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.276e-05/0.3293, allocations: 105.5 kB / 428.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3293, allocations: 0 / 428.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002451/0.3318, allocations: 0.9642 MB / 429.4 MB, free: 484 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.004296/0.3361, allocations: 1.247 MB / 430.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.3372, allocations: 371.9 kB / 431 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3372, allocations: 0 / 431 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.3377, allocations: 175.8 kB / 431.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007418/0.3384, allocations: 103.2 kB / 431.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.3398, allocations: 0.7155 MB / 432 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.3401, allocations: 0.7413 MB / 432.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004166/0.3406, allocations: 86.16 kB / 432.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.3407, allocations: 39.42 kB / 432.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3407, allocations: 0 / 432.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of Templates: time 0.04018/0.3809, allocations: 29.9 MB / 462.8 MB, free: 15.05 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.0.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