Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001417/0.001417, allocations: 111 kB / 17.74 MB, free: 5.34 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.001434/0.001434, allocations: 192.4 kB / 18.67 MB, free: 4.414 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.31/1.31, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009947/0.0009948, allocations: 47.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.259, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.062/0.321, allocations: 65.59 MB / 467 MB, free: 7.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006249/0.3273, allocations: 5.449 MB / 472.5 MB, free: 1.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.3277, allocations: 7.938 kB / 472.5 MB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009505/0.3287, allocations: 353.9 kB / 472.8 MB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009038/0.3296, allocations: 0.4972 MB / 473.3 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01704/0.3467, allocations: 7.429 MB / 480.7 MB, free: 9.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00188/0.3486, allocations: 1.551 MB / 482.3 MB, free: 7.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000328/0.3489, allocations: 224.8 kB / 482.5 MB, free: 7.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009077/0.3498, allocations: 0.6308 MB / 483.1 MB, free: 6.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006668/0.3505, allocations: 0.5683 MB / 483.7 MB, free: 6.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.3507, allocations: 80 kB / 483.8 MB, free: 6.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01688/0.3675, allocations: 10.2 MB / 494 MB, free: 12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000481/0.3681, allocations: 315.3 kB / 494.3 MB, free: 11.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007536/0.3688, allocations: 446.3 kB / 494.7 MB, free: 11.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.3815, allocations: 5.937 MB / 0.4889 GB, free: 5.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.3815, allocations: 0 / 0.4889 GB, free: 5.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3815, allocations: 4 kB / 0.4889 GB, free: 5.297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.85e-05/0.3816, allocations: 0 / 0.4889 GB, free: 5.297 MB / 414.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.004128/0.3857, allocations: 1.556 MB / 0.4905 GB, free: 3.691 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3858, allocations: 12.03 kB / 0.4905 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004407/0.3862, allocations: 83.23 kB / 0.4905 GB, free: 3.598 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005891/0.3868, allocations: 448.8 kB / 0.491 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.3869, allocations: 45.31 kB / 0.491 GB, free: 3.078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.225e-05/0.387, allocations: 64 kB / 0.4911 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.3886, allocations: 0.8107 MB / 0.4919 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.3886, allocations: 0 / 0.4919 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-05/0.3887, allocations: 28 kB / 0.4919 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3887, allocations: 16 kB / 0.4919 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.3905, allocations: 1.024 MB / 0.4929 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01584/0.4063, allocations: 12.78 MB / 0.5054 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.408, allocations: 0.745 MB / 0.5061 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005369/0.4085, allocations: 407.9 kB / 0.5065 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01367/0.4222, allocations: 12.25 MB / 0.5185 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.4223, allocations: 43.59 kB / 0.5185 GB, free: 2.367 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.385e-06/0.4223, allocations: 4 kB / 0.5185 GB, free: 2.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009123/0.4315, allocations: 3.384 MB / 0.5218 GB, free: 14.88 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.4315, allocations: 60.41 kB / 0.5219 GB, free: 14.81 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.4319, allocations: 352.5 kB / 0.5222 GB, free: 14.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.031e-05/0.432, allocations: 41.7 kB / 0.5222 GB, free: 14.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.4321, allocations: 236.7 kB / 0.5225 GB, free: 14.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.4323, allocations: 307.5 kB / 0.5228 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.4326, allocations: 166.5 kB / 0.5229 GB, free: 13.7 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4327, allocations: 362.8 kB / 0.5233 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005565/0.4333, allocations: 377.7 kB / 0.5236 GB, free: 12.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008625/0.4341, allocations: 488.2 kB / 0.5241 GB, free: 12.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.4358, allocations: 0.906 MB / 0.525 GB, free: 11.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.4358, allocations: 0 / 0.525 GB, free: 11.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002431/0.4382, allocations: 1.113 MB / 0.5261 GB, free: 10.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.4383, allocations: 4.281 kB / 0.5261 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4383, allocations: 8 kB / 0.5261 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007887/0.4391, allocations: 163.2 kB / 0.5262 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007088/0.4398, allocations: 187.8 kB / 0.5264 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.4427, allocations: 4.128 MB / 0.5304 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.4431, allocations: 16 kB / 0.5305 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.846e-05/0.4432, allocations: 44.06 kB / 0.5305 GB, free: 5.508 MB / 462.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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003762/0.4436, allocations: 228 kB / 0.5307 GB, free: 5.277 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003674/0.444, allocations: 63.38 kB / 0.5308 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002272/0.4463, allocations: 1.288 MB / 0.532 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.4463, allocations: 8 kB / 0.532 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4463, allocations: 3.984 kB / 0.5321 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00171/0.448, allocations: 1.316 MB / 0.5333 GB, free: 2.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/0.4511, allocations: 1.96 MB / 0.5353 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.4511, allocations: 4 kB / 0.5353 GB, free: 412 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006739/0.4518, allocations: 171.7 kB / 0.5354 GB, free: 240 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2182/0.67, allocations: 293.7 kB / 0.5357 GB, free: 139 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001845/0.6702, allocations: 30.97 kB / 0.5357 GB, free: 139 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006617/0.6709, allocations: 1.286 MB / 0.537 GB, free: 137.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6709, allocations: 3.5 kB / 0.537 GB, free: 137.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003028/0.6739, allocations: 1.422 MB / 0.5384 GB, free: 137.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.6741, allocations: 127.5 kB / 0.5385 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.6742, allocations: 20.48 kB / 0.5385 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/0.6748, allocations: 29.05 kB / 0.5385 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.6749, allocations: 55.42 kB / 0.5386 GB, free: 137.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.675, allocations: 49.22 kB / 0.5386 GB, free: 137.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003487/0.6754, allocations: 281.9 kB / 0.5389 GB, free: 137.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6754, allocations: 0 / 0.5389 GB, free: 137.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003525/0.6789, allocations: 1.394 MB / 0.5403 GB, free: 137.2 MB / 462.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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005937/0.6849, allocations: 1.721 MB / 0.542 GB, free: 137 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002178/0.6871, allocations: 1.157 MB / 0.5431 GB, free: 136.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6871, allocations: 3.844 kB / 0.5431 GB, free: 136.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007662/0.6879, allocations: 0.4932 MB / 0.5436 GB, free: 136.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.6897, allocations: 392.3 kB / 0.5439 GB, free: 136.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.6923, allocations: 1.696 MB / 0.5456 GB, free: 135.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.6927, allocations: 0.9108 MB / 0.5465 GB, free: 134.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.6929, allocations: 90.17 kB / 0.5466 GB, free: 134.7 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6929, allocations: 0 / 0.5466 GB, free: 134.7 MB / 462.1 MB Notification: Performance of Templates: time 0.04486/0.7378, allocations: 40.95 MB / 0.5866 GB, free: 95.53 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches