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.001324/0.001324, allocations: 105.9 kB / 18.24 MB, free: 4.762 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.001256/0.001256, allocations: 195.6 kB / 19.19 MB, free: 3.832 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.363/1.363, allocations: 205.1 MB / 225.1 MB, free: 12.36 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.001211/0.001211, allocations: 56.14 kB / 281.3 MB, free: 3.191 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08126/0.08248, allocations: 46.62 MB / 327.9 MB, free: 4.5 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05017/0.1327, allocations: 50.7 MB / 378.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1694/0.3021, allocations: 5.185 MB / 383.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.3025, allocations: 7.25 kB / 383.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008844/0.3034, allocations: 248.2 kB / 384.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008159/0.3042, allocations: 362 kB / 384.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01896/0.3232, allocations: 6.753 MB / 391.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.3249, allocations: 1.091 MB / 392.3 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.3252, allocations: 144.1 kB / 392.4 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007883/0.3331, allocations: 3.588 MB / 396 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006483/0.3338, allocations: 405.5 kB / 396.4 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.3339, allocations: 58.59 kB / 396.4 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01877/0.3527, allocations: 9.658 MB / 406.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003682/0.3531, allocations: 222.7 kB / 406.3 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006101/0.3538, allocations: 315 kB / 406.6 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01338/0.3671, allocations: 5.472 MB / 412.1 MB, free: 4.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3672, allocations: 0 / 412.1 MB, free: 4.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3672, allocations: 0 / 412.1 MB, free: 4.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.3672, allocations: 0 / 412.1 MB, free: 4.453 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.003446/0.3707, allocations: 1.356 MB / 413.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3707, allocations: 11.89 kB / 413.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003467/0.3711, allocations: 59.52 kB / 413.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.3715, allocations: 358.4 kB / 413.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.3715, allocations: 29 kB / 413.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.3716, allocations: 44 kB / 413.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.3727, allocations: 0.5859 MB / 414.5 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.3728, allocations: 3.984 kB / 414.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.319e-05/0.3728, allocations: 24 kB / 414.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.3728, allocations: 12 kB / 414.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.374, allocations: 0.7443 MB / 415.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01629/0.3903, allocations: 11.98 MB / 427.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.3916, allocations: 0.5229 MB / 427.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.392, allocations: 258 kB / 428.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/0.4068, allocations: 11.89 MB / 440 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.4069, allocations: 41.72 kB / 440 MB, free: 4.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 3.056e-06/0.407, allocations: 7.844 kB / 440 MB, free: 4.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.00595/0.4129, allocations: 2.12 MB / 442.1 MB, free: 2.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.413, allocations: 55.97 kB / 442.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.4133, allocations: 322.8 kB / 442.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.4134, allocations: 37.7 kB / 442.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.4135, allocations: 199.7 kB / 442.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.4137, allocations: 187.5 kB / 442.9 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.4139, allocations: 122.1 kB / 443 MB, free: 1.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.414, allocations: 346.8 kB / 443.4 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.4144, allocations: 237 kB / 443.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006439/0.415, allocations: 343.3 kB / 443.9 MB, free: 432 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.4163, allocations: 0.6017 MB / 444.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4163, allocations: 4 kB / 444.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001796/0.4181, allocations: 0.7519 MB / 445.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.4181, allocations: 4 kB / 445.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.4181, allocations: 7.938 kB / 445.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/0.4186, allocations: 101.6 kB / 445.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.4191, allocations: 131 kB / 445.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/0.4219, allocations: 3.473 MB / 449 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.4223, allocations: 16 kB / 449 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/0.4224, allocations: 31.98 kB / 449.1 MB, free: 11.01 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.0003177/0.4227, allocations: 200.2 kB / 449.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/0.423, allocations: 43.62 kB / 449.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.4246, allocations: 0.8104 MB / 450.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.4246, allocations: 11.98 kB / 450.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.4246, allocations: 0 / 450.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/0.4258, allocations: 0.7582 MB / 450.9 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.4279, allocations: 1.301 MB / 452.2 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4279, allocations: 4.062 kB / 452.2 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004595/0.4284, allocations: 99.03 kB / 452.3 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009501/0.4293, allocations: 152.5 kB / 452.4 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/0.4294, allocations: 26.97 kB / 452.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004306/0.4299, allocations: 0.6368 MB / 453.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4299, allocations: 4.031 kB / 453.1 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.4316, allocations: 0.9134 MB / 454 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.4317, allocations: 108.7 kB / 454.1 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.4318, allocations: 15.98 kB / 454.1 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/0.4322, allocations: 24.06 kB / 454.2 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.4323, allocations: 32.39 kB / 454.2 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.086e-05/0.4324, allocations: 27.98 kB / 454.2 MB, free: 5.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002885/0.4327, allocations: 261.9 kB / 454.5 MB, free: 5.398 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4327, allocations: 0 / 454.5 MB, free: 5.398 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004097/0.4368, allocations: 1.304 MB / 455.8 MB, free: 4.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.005869/0.4427, allocations: 1.702 MB / 457.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001802/0.4445, allocations: 0.8535 MB / 458.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4445, allocations: 0.5625 kB / 458.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.4451, allocations: 292.3 kB / 458.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.4465, allocations: 269.4 kB / 458.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.4485, allocations: 1.141 MB / 460 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.4489, allocations: 0.8314 MB / 460.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.4491, allocations: 71.41 kB / 460.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4491, allocations: 0 / 460.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of Templates: time 0.05135/0.5004, allocations: 35.07 MB / 496 MB, free: 11.93 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches