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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009913/0.0009913, allocations: 100.4 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007725/0.0007725, allocations: 35.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1968, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02293/0.2197, allocations: 28.23 MB / 427.7 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.2218, allocations: 2.349 MB / 430 MB, free: 2.699 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.2219, allocations: 0 / 430 MB, free: 2.699 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.2222, allocations: 51.78 kB / 430.1 MB, free: 2.648 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.2224, allocations: 151.2 kB / 430.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0122/0.2346, allocations: 5.39 MB / 435.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005394/0.2352, allocations: 470.6 kB / 436.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.2352, allocations: 5.125 kB / 436.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.2355, allocations: 123.5 kB / 436.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.2357, allocations: 131.6 kB / 436.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.2358, allocations: 7.938 kB / 436.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.017/0.2528, allocations: 9.572 MB / 445.9 MB, free: 2.801 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.253, allocations: 67.84 kB / 446 MB, free: 2.734 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.2531, allocations: 91.58 kB / 446.1 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01117/0.2643, allocations: 4.78 MB / 450.9 MB, free: 13.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2643, allocations: 0 / 450.9 MB, free: 13.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2644, allocations: 0 / 450.9 MB, free: 13.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.2644, allocations: 0 / 450.9 MB, free: 13.85 MB / 330.7 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.003244/0.2676, allocations: 1.115 MB / 452 MB, free: 12.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2677, allocations: 12.03 kB / 452 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.2678, allocations: 24.5 kB / 452 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.2681, allocations: 222.7 kB / 452.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.2681, allocations: 8.328 kB / 452.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.2682, allocations: 20 kB / 452.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.2689, allocations: 281.4 kB / 452.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2689, allocations: 4 kB / 452.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.2689, allocations: 8 kB / 452.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.269, allocations: 11.98 kB / 452.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007582/0.2697, allocations: 311.6 kB / 452.9 MB, free: 11.75 MB / 330.7 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.001371/0.2711, allocations: 0.813 MB / 453.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006835/0.2718, allocations: 249.1 kB / 453.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.2721, allocations: 137.6 kB / 454.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01494/0.2871, allocations: 12.85 MB / 466.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.2872, allocations: 38.56 kB / 466.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.874e-06/0.2872, allocations: 0 / 466.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002741/0.2899, allocations: 0.6871 MB / 467.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.29, allocations: 85.05 kB / 467.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.2901, allocations: 125.8 kB / 467.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.2901, allocations: 29.7 kB / 467.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.2902, allocations: 104.8 kB / 468 MB, free: 9.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.756e-05/0.2903, allocations: 130.1 kB / 468.1 MB, free: 9.852 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.2904, allocations: 69.69 kB / 468.2 MB, free: 9.777 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.2905, allocations: 338.8 kB / 468.5 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.2909, allocations: 131.9 kB / 468.6 MB, free: 9.309 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004704/0.2914, allocations: 215.6 kB / 468.8 MB, free: 9.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009651/0.2924, allocations: 357.7 kB / 469.2 MB, free: 8.695 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2924, allocations: 4 kB / 469.2 MB, free: 8.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001145/0.2935, allocations: 416 kB / 469.6 MB, free: 8.281 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2936, allocations: 12 kB / 469.6 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2936, allocations: 0 / 469.6 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2936, allocations: 4 kB / 469.6 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.2941, allocations: 95.81 kB / 469.7 MB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.2941, allocations: 15.92 kB / 469.7 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.2944, allocations: 27.83 kB / 469.7 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.2945, allocations: 23.98 kB / 469.8 MB, free: 8.105 MB / 346.7 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.0001277/0.2946, allocations: 137.8 kB / 469.9 MB, free: 7.961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.2947, allocations: 19.81 kB / 469.9 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.2952, allocations: 190.3 kB / 470.1 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.2952, allocations: 7.938 kB / 470.1 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2952, allocations: 0 / 470.1 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.2952, allocations: 3.984 kB / 470.1 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.2969, allocations: 0.7637 MB / 470.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.297, allocations: 4 kB / 470.9 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.2974, allocations: 79.88 kB / 471 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.2974, allocations: 4 kB / 471 MB, free: 6.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.2974, allocations: 8 kB / 471 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.2974, allocations: 7.938 kB / 471 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2975, allocations: 3.984 kB / 471 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.3001, allocations: 1.735 MB / 472.7 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.3002, allocations: 116.9 kB / 472.8 MB, free: 4.777 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.3003, allocations: 11.98 kB / 472.9 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.3006, allocations: 23.98 kB / 472.9 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.3007, allocations: 35.81 kB / 472.9 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.3007, allocations: 19.98 kB / 472.9 MB, free: 4.688 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.296e-05/0.3008, allocations: 99.64 kB / 473 MB, free: 4.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3008, allocations: 0 / 473 MB, free: 4.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002501/0.3033, allocations: 0.976 MB / 474 MB, free: 3.613 MB / 346.7 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.004412/0.3077, allocations: 1.252 MB / 475.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.3088, allocations: 343.6 kB / 475.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3088, allocations: 0 / 475.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000472/0.3093, allocations: 179.2 kB / 475.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007145/0.31, allocations: 96.16 kB / 475.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.3116, allocations: 0.9059 MB / 476.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3119, allocations: 0.7452 MB / 477.5 MB, free: 28 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004633/0.3124, allocations: 89.88 kB / 477.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.3126, allocations: 39.36 kB / 477.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.3126, allocations: 0 / 477.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of Templates: time 0.03726/0.3498, allocations: 29.42 MB / 0.4952 GB, free: 2.492 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches