Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 115.2 kB / 17.07 MB, free: 5.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 195.9 kB / 18 MB, free: 4.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 43.94 kB / 351.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2351, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02899/0.2641, allocations: 26.45 MB / 427.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.2667, allocations: 2.231 MB / 429.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.2668, allocations: 4 kB / 429.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.2671, allocations: 63.64 kB / 429.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.2675, allocations: 151.1 kB / 429.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01395/0.2815, allocations: 6.509 MB / 436.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.2819, allocations: 310.9 kB / 436.4 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.282, allocations: 9.125 kB / 436.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.2822, allocations: 139.5 kB / 436.6 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.2824, allocations: 115.6 kB / 436.7 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.2824, allocations: 12 kB / 436.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0155/0.2979, allocations: 9.499 MB / 446.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.2981, allocations: 71.84 kB / 446.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.2982, allocations: 103.6 kB / 446.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008539/0.3068, allocations: 4.694 MB / 451.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3068, allocations: 0 / 451.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3068, allocations: 0 / 451.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3068, allocations: 0 / 451.1 MB, free: 6.426 MB / 366.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.002688/0.3095, allocations: 1.119 MB / 452.2 MB, free: 5.254 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3096, allocations: 11.97 kB / 452.2 MB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.3097, allocations: 24.5 kB / 452.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.3099, allocations: 214.8 kB / 452.4 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.31, allocations: 16.33 kB / 452.4 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.31, allocations: 20 kB / 452.5 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006855/0.3107, allocations: 285.3 kB / 452.7 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3107, allocations: 0 / 452.7 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.3108, allocations: 8 kB / 452.7 MB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.3108, allocations: 4 kB / 452.7 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007585/0.3116, allocations: 319.7 kB / 453.1 MB, free: 4.32 MB / 366.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.001314/0.3129, allocations: 0.8245 MB / 453.9 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006869/0.3136, allocations: 249.3 kB / 454.1 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.3139, allocations: 133.9 kB / 454.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01616/0.3301, allocations: 12.85 MB / 467.1 MB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.3301, allocations: 42.56 kB / 467.1 MB, free: 3.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.984e-06/0.3302, allocations: 0 / 467.1 MB, free: 3.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002846/0.333, allocations: 0.6856 MB / 467.8 MB, free: 2.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.3331, allocations: 81.11 kB / 467.9 MB, free: 2.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3332, allocations: 137.7 kB / 468 MB, free: 2.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.3332, allocations: 29.7 kB / 468.1 MB, free: 2.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.396e-05/0.3333, allocations: 108.8 kB / 468.2 MB, free: 2.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/0.3334, allocations: 130.1 kB / 468.3 MB, free: 2.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.3335, allocations: 69.69 kB / 468.4 MB, free: 2.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.3336, allocations: 330.8 kB / 468.7 MB, free: 1.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.334, allocations: 135.9 kB / 468.8 MB, free: 1.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.3346, allocations: 211.5 kB / 469 MB, free: 1.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009269/0.3355, allocations: 365.3 kB / 469.4 MB, free: 1.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3355, allocations: 0 / 469.4 MB, free: 1.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001168/0.3367, allocations: 424.1 kB / 469.8 MB, free: 0.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3367, allocations: 4 kB / 469.8 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3368, allocations: 8 kB / 469.8 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3368, allocations: 4 kB / 469.8 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.3372, allocations: 92.09 kB / 469.9 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.281e-05/0.3373, allocations: 7.938 kB / 469.9 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.3376, allocations: 31.81 kB / 469.9 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.3377, allocations: 16 kB / 470 MB, free: 0.6719 MB / 382.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.0001344/0.3378, allocations: 145.6 kB / 470.1 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.338, allocations: 19.91 kB / 470.1 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.3385, allocations: 193.6 kB / 470.3 MB, free: 320 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.3385, allocations: 7.938 kB / 470.3 MB, free: 312 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3385, allocations: 0 / 470.3 MB, free: 312 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3385, allocations: 0 / 470.3 MB, free: 312 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.3402, allocations: 0.7622 MB / 471.1 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3402, allocations: 4 kB / 471.1 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/0.3406, allocations: 75.88 kB / 471.2 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.3407, allocations: 4 kB / 471.2 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.3407, allocations: 15.98 kB / 471.2 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3407, allocations: 4 kB / 471.2 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3407, allocations: 0 / 471.2 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.3423, allocations: 0.7038 MB / 471.9 MB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.3424, allocations: 128.8 kB / 472 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.3425, allocations: 8 kB / 472 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.3428, allocations: 20.05 kB / 472 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.3429, allocations: 39.81 kB / 472.1 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.65e-05/0.3429, allocations: 12 kB / 472.1 MB, free: 14.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.949e-05/0.343, allocations: 99.27 kB / 472.2 MB, free: 14.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.343, allocations: 0 / 472.2 MB, free: 14.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002355/0.3454, allocations: 0.9409 MB / 473.1 MB, free: 13.37 MB / 398.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.003477/0.3489, allocations: 1.243 MB / 474.4 MB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009801/0.3499, allocations: 355.2 kB / 474.7 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3499, allocations: 0 / 474.7 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004652/0.3503, allocations: 176.5 kB / 474.9 MB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000702/0.3511, allocations: 99.56 kB / 475 MB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.3523, allocations: 0.6011 MB / 475.6 MB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3526, allocations: 0.7332 MB / 476.3 MB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003455/0.353, allocations: 85.89 kB / 476.4 MB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.3531, allocations: 39.41 kB / 476.4 MB, free: 9.977 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3531, allocations: 4 kB / 476.5 MB, free: 9.973 MB / 398.1 MB Notification: Performance of Templates: time 0.03682/0.39, allocations: 29.47 MB / 0.4941 GB, free: 12.53 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches