Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001411/0.001411, allocations: 109.1 kB / 17.16 MB, free: 6.324 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.001607/0.001607, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.361/1.361, allocations: 222.9 MB / 241.8 MB, free: 13.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 43.23 kB / 300.6 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09602/0.09721, allocations: 49.44 MB / 350.1 MB, free: 4.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2222/0.3195, allocations: 52.19 MB / 402.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006577/0.3261, allocations: 5.284 MB / 407.5 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/0.3264, allocations: 5.406 kB / 407.5 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000725/0.3271, allocations: 213.5 kB / 407.7 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006341/0.3278, allocations: 359.8 kB / 408.1 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01748/0.3453, allocations: 5.944 MB / 414 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001838/0.3471, allocations: 1.6 MB / 415.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.3474, allocations: 125.7 kB / 415.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008373/0.3558, allocations: 3.656 MB / 419.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008437/0.3567, allocations: 414.5 kB / 419.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.3569, allocations: 28 kB / 419.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01847/0.3753, allocations: 10.05 MB / 429.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003743/0.3758, allocations: 203.4 kB / 430.1 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004784/0.3763, allocations: 274.9 kB / 430.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007825/0.3841, allocations: 3.79 MB / 434.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3841, allocations: 0 / 434.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3841, allocations: 0 / 434.2 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.3842, allocations: 3.938 kB / 434.2 MB, free: 0.8594 MB / 334.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.003452/0.3876, allocations: 1.358 MB / 435.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3877, allocations: 8.031 kB / 435.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003802/0.3881, allocations: 59.42 kB / 435.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.3885, allocations: 365.9 kB / 435.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.3886, allocations: 33 kB / 436 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.55e-05/0.3887, allocations: 40 kB / 436 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.39, allocations: 0.5921 MB / 436.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.39, allocations: 0 / 436.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/0.3901, allocations: 20 kB / 436.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.3901, allocations: 15.94 kB / 436.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.3914, allocations: 0.7417 MB / 437.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01673/0.4082, allocations: 11.96 MB / 449.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.4095, allocations: 0.5235 MB / 449.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/0.4099, allocations: 258 kB / 450.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01551/0.4255, allocations: 11.89 MB / 462 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.4255, allocations: 39 kB / 462 MB, free: 492 kB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 5.28e-06/0.4256, allocations: 4 kB / 462 MB, free: 488 kB / 366.1 MB Notification: Performance of matching and sorting (n=55): time 0.006248/0.4318, allocations: 2.121 MB / 464.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.4319, allocations: 59.91 kB / 464.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.4323, allocations: 318.9 kB / 464.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.239e-05/0.4323, allocations: 37.7 kB / 464.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.4325, allocations: 204.2 kB / 464.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.4326, allocations: 189.3 kB / 465 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.4328, allocations: 114.1 kB / 465.1 MB, free: 13.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.433, allocations: 346.8 kB / 465.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.4334, allocations: 245 kB / 465.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.434, allocations: 335.4 kB / 466 MB, free: 12.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.4352, allocations: 0.6073 MB / 466.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4352, allocations: 4 kB / 466.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001864/0.4371, allocations: 0.744 MB / 467.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.4371, allocations: 7.938 kB / 467.3 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.4371, allocations: 4 kB / 467.3 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/0.4376, allocations: 114.7 kB / 467.5 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.4382, allocations: 123.8 kB / 467.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/0.4406, allocations: 3.276 MB / 470.8 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.441, allocations: 36.11 kB / 470.9 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/0.4411, allocations: 31.98 kB / 470.9 MB, free: 7.098 MB / 382.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.0002631/0.4413, allocations: 189.7 kB / 471.1 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/0.4416, allocations: 47.53 kB / 471.1 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.4432, allocations: 0.8227 MB / 472 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.4433, allocations: 8 kB / 472 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.4433, allocations: 0 / 472 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001128/0.4444, allocations: 0.7596 MB / 472.7 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.4465, allocations: 1.305 MB / 474 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.4465, allocations: 0 / 474 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.447, allocations: 99.88 kB / 474.1 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009355/0.4479, allocations: 148.6 kB / 474.3 MB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/0.448, allocations: 19.98 kB / 474.3 MB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003878/0.4484, allocations: 0.6483 MB / 475 MB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.4484, allocations: 8.125 kB / 475 MB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.45, allocations: 0.8965 MB / 475.9 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.4502, allocations: 116.7 kB / 476 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.776e-05/0.4503, allocations: 11.98 kB / 476 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.4507, allocations: 35.92 kB / 476 MB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.4508, allocations: 36.33 kB / 476.1 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.489e-05/0.4509, allocations: 39.97 kB / 476.1 MB, free: 1.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002659/0.4512, allocations: 249.9 kB / 476.3 MB, free: 1.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4512, allocations: 0 / 476.3 MB, free: 1.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003839/0.455, allocations: 1.32 MB / 477.7 MB, free: 108 kB / 382.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.006381/0.4614, allocations: 1.689 MB / 479.3 MB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.4631, allocations: 0.7997 MB / 480.1 MB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.4631, allocations: 4 kB / 480.1 MB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005723/0.4637, allocations: 291.8 kB / 480.4 MB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.4652, allocations: 268.2 kB / 480.7 MB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.4673, allocations: 1.305 MB / 482 MB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.4677, allocations: 0.8329 MB / 482.8 MB, free: 10.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.468, allocations: 71.41 kB / 482.9 MB, free: 10.76 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.468, allocations: 0 / 482.9 MB, free: 10.76 MB / 398.1 MB Notification: Performance of Templates: time 0.0485/0.5165, allocations: 33.82 MB / 0.5046 GB, free: 8.938 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches