Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007703/0.0007706, allocations: 93.44 kB / 17.3 MB, free: 5.977 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.0007934/0.0007938, allocations: 180.3 kB / 18.21 MB, free: 5.398 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.297/1.297, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004425/0.0004428, allocations: 8 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08137/0.08183, allocations: 47.59 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05517/0.137, allocations: 51.29 MB / 380.2 MB, free: 312 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1614/0.2985, allocations: 5.194 MB / 385.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003857/0.2989, allocations: 2.344 kB / 385.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007438/0.2997, allocations: 216.4 kB / 385.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007653/0.3004, allocations: 357 kB / 386 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01529/0.3157, allocations: 5.589 MB / 391.6 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00175/0.3175, allocations: 1.605 MB / 393.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.3177, allocations: 116.9 kB / 393.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006445/0.3242, allocations: 3.652 MB / 397 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005174/0.3247, allocations: 408.7 kB / 397.4 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.406e-05/0.3248, allocations: 26.47 kB / 397.4 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01531/0.3401, allocations: 9.955 MB / 407.3 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.3405, allocations: 184 kB / 407.5 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004566/0.3409, allocations: 303.2 kB / 407.8 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.3511, allocations: 5.539 MB / 413.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3511, allocations: 0 / 413.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3511, allocations: 0 / 413.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.3512, allocations: 2.734 kB / 413.4 MB, free: 5.051 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002635/0.3538, allocations: 1.235 MB / 414.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3538, allocations: 9.531 kB / 414.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.3541, allocations: 61.28 kB / 414.7 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.3545, allocations: 363 kB / 415 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.3545, allocations: 37.48 kB / 415.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.564e-05/0.3546, allocations: 48.27 kB / 415.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.3557, allocations: 0.5884 MB / 415.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.3558, allocations: 0 / 415.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.186e-05/0.3558, allocations: 18 kB / 415.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.3558, allocations: 13.06 kB / 415.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.357, allocations: 0.7471 MB / 416.5 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01561/0.3726, allocations: 12.01 MB / 428.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.374, allocations: 0.5397 MB / 429 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.3743, allocations: 258 kB / 429.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01474/0.3891, allocations: 11.94 MB / 441.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.3892, allocations: 43 kB / 441.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 3.236e-06/0.3892, allocations: 0 / 441.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.005743/0.3949, allocations: 2.139 MB / 443.4 MB, free: 4.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.395, allocations: 63.05 kB / 443.5 MB, free: 4.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.3953, allocations: 311 kB / 443.8 MB, free: 3.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.094e-05/0.3954, allocations: 37.7 kB / 443.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.3956, allocations: 207.9 kB / 444 MB, free: 3.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.3957, allocations: 192.1 kB / 444.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/0.3958, allocations: 53.69 kB / 444.2 MB, free: 3.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.396, allocations: 346.8 kB / 444.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.3963, allocations: 237 kB / 444.8 MB, free: 2.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/0.397, allocations: 343.3 kB / 445.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.3982, allocations: 0.5927 MB / 445.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3982, allocations: 6.906 kB / 445.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001791/0.4, allocations: 0.7537 MB / 446.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4, allocations: 7.938 kB / 446.5 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4, allocations: 4 kB / 446.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004755/0.4005, allocations: 102.5 kB / 446.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.401, allocations: 136.6 kB / 446.7 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.4034, allocations: 3.271 MB / 450 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.4039, allocations: 42.88 kB / 450.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.198e-05/0.4039, allocations: 35.97 kB / 450.1 MB, free: 13.05 MB / 366.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0002767/0.4042, allocations: 189.7 kB / 450.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.4045, allocations: 43.53 kB / 450.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.4061, allocations: 0.8125 MB / 451.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4061, allocations: 8 kB / 451.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.4061, allocations: 4 kB / 451.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/0.4072, allocations: 0.7673 MB / 451.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.4093, allocations: 1.291 MB / 453.2 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.4093, allocations: 0 / 453.2 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/0.4098, allocations: 103.9 kB / 453.3 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009114/0.4107, allocations: 144.6 kB / 453.4 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.4107, allocations: 19.98 kB / 453.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004028/0.4111, allocations: 0.6523 MB / 454.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.4112, allocations: 3.984 kB / 454.1 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.4128, allocations: 0.9106 MB / 455 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.4129, allocations: 128.7 kB / 455.2 MB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.413, allocations: 15.94 kB / 455.2 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.4135, allocations: 31.97 kB / 455.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.253e-05/0.4135, allocations: 32.39 kB / 455.2 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/0.4136, allocations: 35.97 kB / 455.3 MB, free: 7.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002783/0.4139, allocations: 249.9 kB / 455.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4139, allocations: 0 / 455.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003671/0.4176, allocations: 1.308 MB / 456.8 MB, free: 6.094 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005492/0.4231, allocations: 1.699 MB / 458.5 MB, free: 4.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.4246, allocations: 0.8059 MB / 459.3 MB, free: 3.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4247, allocations: 0 / 459.3 MB, free: 3.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005277/0.4252, allocations: 291.2 kB / 459.6 MB, free: 3.418 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.4267, allocations: 269.6 kB / 459.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.4286, allocations: 1.349 MB / 461.2 MB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.4291, allocations: 0.8404 MB / 462.1 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005219/0.4296, allocations: 144.3 kB / 462.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.4297, allocations: 63.42 kB / 462.3 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4298, allocations: 0 / 462.3 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of Templates: time 0.0657/0.4955, allocations: 45.72 MB / 0.4961 GB, free: 2.949 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches