Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 96.14 kB / 16.94 MB, free: 6.441 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.001062/0.001062, allocations: 184.6 kB / 17.83 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004902, allocations: 8 kB / 280.7 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08319/0.08369, allocations: 47.59 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.04914/0.1329, allocations: 49.97 MB / 378.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1603/0.2932, allocations: 4.357 MB / 382.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004834/0.2937, allocations: 6.938 kB / 382.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008497/0.2946, allocations: 279.8 kB / 382.9 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006868/0.2953, allocations: 340.5 kB / 383.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01485/0.3101, allocations: 4.912 MB / 388.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001551/0.3117, allocations: 0.8323 MB / 389 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002725/0.312, allocations: 157.7 kB / 389.2 MB, free: 11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.313, allocations: 0.4998 MB / 389.7 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000697/0.3138, allocations: 374.9 kB / 390 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.3139, allocations: 37.19 kB / 390.1 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01666/0.3305, allocations: 8.45 MB / 398.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004133/0.331, allocations: 252.9 kB / 398.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.3314, allocations: 174.2 kB / 398.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007/0.3384, allocations: 3.682 MB / 402.6 MB, free: 8.926 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3384, allocations: 0 / 402.6 MB, free: 8.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3384, allocations: 0 / 402.6 MB, free: 8.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.3385, allocations: 0 / 402.6 MB, free: 8.926 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003048/0.3415, allocations: 1.358 MB / 404 MB, free: 8.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.3415, allocations: 9.938 kB / 404 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004033/0.342, allocations: 84.14 kB / 404.1 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.3425, allocations: 431.2 kB / 404.5 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.3426, allocations: 51.02 kB / 404.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.974e-05/0.3427, allocations: 60.28 kB / 404.6 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.3442, allocations: 0.8038 MB / 405.4 MB, free: 7.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.3443, allocations: 6.844 kB / 405.4 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-05/0.3443, allocations: 32.77 kB / 405.4 MB, free: 7.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.3444, allocations: 16.69 kB / 405.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.3459, allocations: 1.018 MB / 406.5 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0156/0.3615, allocations: 12.84 MB / 419.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.3631, allocations: 0.7613 MB / 420.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0146/0.3777, allocations: 12.29 MB / 432.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.3778, allocations: 49.03 kB / 432.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 3.427e-06/0.3779, allocations: 1.219 kB / 432.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.009771/0.3876, allocations: 3.417 MB / 435.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.3877, allocations: 64.41 kB / 435.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.3881, allocations: 346.7 kB / 436.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.3883, allocations: 50.33 kB / 436.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.3884, allocations: 243.9 kB / 436.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.3887, allocations: 302.3 kB / 436.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.3887, allocations: 20.12 kB / 436.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3889, allocations: 359.7 kB / 437.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005192/0.3894, allocations: 368 kB / 437.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008059/0.3902, allocations: 491.6 kB / 438 MB, free: 8.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008521/0.3911, allocations: 442.8 kB / 438.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3911, allocations: 0 / 438.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002443/0.3936, allocations: 1.114 MB / 439.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3936, allocations: 4 kB / 439.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3936, allocations: 4 kB / 439.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007757/0.3944, allocations: 163.3 kB / 439.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/0.3951, allocations: 190.7 kB / 439.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/0.3981, allocations: 3.932 MB / 443.8 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/0.3987, allocations: 60.81 kB / 443.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.674e-05/0.3988, allocations: 43.12 kB / 443.9 MB, free: 3.133 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003556/0.3992, allocations: 227.1 kB / 444.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/0.3996, allocations: 63.34 kB / 444.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/0.4022, allocations: 1.292 MB / 445.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.4023, allocations: 8 kB / 445.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4023, allocations: 6.734 kB / 445.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001729/0.404, allocations: 1.32 MB / 446.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.4071, allocations: 1.975 MB / 448.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4071, allocations: 0 / 448.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007124/0.4078, allocations: 167.8 kB / 449 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001767/0.4096, allocations: 296.7 kB / 449.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.798e-05/0.4097, allocations: 36.47 kB / 449.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007916/0.4105, allocations: 1.285 MB / 450.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4105, allocations: 0 / 450.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/0.413, allocations: 1.442 MB / 452.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.4132, allocations: 141.9 kB / 452.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-05/0.4133, allocations: 18 kB / 452.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/0.4139, allocations: 60.48 kB / 452.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.484e-05/0.414, allocations: 57.3 kB / 452.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-05/0.4141, allocations: 47.47 kB / 452.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003041/0.4144, allocations: 281.6 kB / 452.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4144, allocations: 0 / 452.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004198/0.4186, allocations: 1.387 MB / 454 MB, free: 10.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005409/0.4241, allocations: 1.607 MB / 455.6 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002098/0.4262, allocations: 1.156 MB / 456.8 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4262, allocations: 0 / 456.8 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008397/0.4271, allocations: 495.2 kB / 457.3 MB, free: 8.191 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.4289, allocations: 358.5 kB / 457.6 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.4318, allocations: 1.983 MB / 459.6 MB, free: 6.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.4323, allocations: 0.9238 MB / 460.5 MB, free: 5.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007238/0.433, allocations: 205.3 kB / 460.7 MB, free: 4.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.4333, allocations: 76.53 kB / 460.8 MB, free: 4.871 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4333, allocations: 3.938 kB / 460.8 MB, free: 4.867 MB / 366.1 MB Notification: Performance of Templates: time 0.06964/0.5029, allocations: 50.35 MB / 0.4992 GB, free: 2.598 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches