Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 64.92 kB / 306.3 MB, free: 1.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09617/0.09804, allocations: 50.54 MB / 356.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1913/0.2893, allocations: 52.32 MB / 409.1 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005936/0.2953, allocations: 5.285 MB / 414.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.2955, allocations: 2.094 kB / 414.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006878/0.2962, allocations: 220.3 kB / 414.6 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005219/0.2968, allocations: 354.6 kB / 415 MB, free: 440 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01611/0.3129, allocations: 5.969 MB / 420.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.3144, allocations: 1.602 MB / 422.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.3146, allocations: 126.3 kB / 422.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007069/0.3217, allocations: 3.651 MB / 426.3 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004806/0.3222, allocations: 410.6 kB / 426.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.3223, allocations: 28 kB / 426.7 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01677/0.3391, allocations: 10.08 MB / 436.8 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.3394, allocations: 199.5 kB / 437 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004223/0.3398, allocations: 282.8 kB / 437.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.3498, allocations: 5.606 MB / 442.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3499, allocations: 0 / 442.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3499, allocations: 3.938 kB / 442.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3499, allocations: 0 / 442.9 MB, free: 5.906 MB / 350.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.002747/0.3526, allocations: 1.361 MB / 444.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3527, allocations: 8.031 kB / 444.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/0.353, allocations: 63.42 kB / 444.3 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.3535, allocations: 365.9 kB / 444.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.3535, allocations: 33 kB / 444.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.636e-05/0.3536, allocations: 44 kB / 444.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.3548, allocations: 0.5765 MB / 445.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.3548, allocations: 0 / 445.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.3549, allocations: 28 kB / 445.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.3549, allocations: 8 kB / 445.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.3563, allocations: 0.7456 MB / 446.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01564/0.3719, allocations: 11.96 MB / 458.1 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.3731, allocations: 0.5439 MB / 458.6 MB, free: 4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.3735, allocations: 250.1 kB / 458.9 MB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01448/0.388, allocations: 11.9 MB / 470.8 MB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.3881, allocations: 43 kB / 470.8 MB, free: 5.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.805e-06/0.3881, allocations: 0 / 470.8 MB, free: 5.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005901/0.394, allocations: 2.118 MB / 472.9 MB, free: 3.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.394, allocations: 59.97 kB / 473 MB, free: 3.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.3944, allocations: 318.9 kB / 473.3 MB, free: 2.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.792e-05/0.3945, allocations: 41.7 kB / 473.3 MB, free: 2.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.3947, allocations: 200.3 kB / 473.5 MB, free: 2.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.3949, allocations: 189.3 kB / 473.7 MB, free: 2.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.3951, allocations: 114.1 kB / 473.8 MB, free: 2.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3952, allocations: 346.8 kB / 474.2 MB, free: 1.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004293/0.3957, allocations: 245 kB / 474.4 MB, free: 1.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006738/0.3964, allocations: 339.3 kB / 474.7 MB, free: 1.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.3976, allocations: 0.5995 MB / 475.3 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3976, allocations: 0 / 475.3 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00183/0.3994, allocations: 0.7479 MB / 476.1 MB, free: 15.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3995, allocations: 8 kB / 476.1 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3995, allocations: 7.938 kB / 476.1 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000471/0.4, allocations: 110.6 kB / 476.2 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/0.4005, allocations: 123.9 kB / 476.3 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.403, allocations: 3.264 MB / 479.6 MB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.4034, allocations: 43.91 kB / 479.6 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-05/0.4034, allocations: 24 kB / 479.7 MB, free: 12.12 MB / 398.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.0002455/0.4037, allocations: 197.8 kB / 479.9 MB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.404, allocations: 47.47 kB / 479.9 MB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.4055, allocations: 0.8267 MB / 480.7 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.4056, allocations: 4 kB / 480.7 MB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.4056, allocations: 0 / 480.7 MB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001111/0.4067, allocations: 0.7635 MB / 481.5 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.4087, allocations: 1.302 MB / 482.8 MB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4088, allocations: 4 kB / 482.8 MB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.4092, allocations: 103.8 kB / 482.9 MB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009322/0.4102, allocations: 148.7 kB / 483 MB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.4102, allocations: 12 kB / 483.1 MB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004035/0.4106, allocations: 0.6483 MB / 483.7 MB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4106, allocations: 3.984 kB / 483.7 MB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.4123, allocations: 0.9044 MB / 484.6 MB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.4124, allocations: 112.7 kB / 484.7 MB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.518e-05/0.4125, allocations: 12 kB / 484.7 MB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/0.4129, allocations: 43.84 kB / 484.8 MB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.413, allocations: 32.39 kB / 484.8 MB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.4131, allocations: 27.98 kB / 484.8 MB, free: 6.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002767/0.4134, allocations: 261.9 kB / 485.1 MB, free: 6.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4134, allocations: 0 / 485.1 MB, free: 6.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003292/0.4167, allocations: 1.32 MB / 486.4 MB, free: 5.117 MB / 398.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.005662/0.4223, allocations: 1.691 MB / 488.1 MB, free: 3.414 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.4238, allocations: 0.8002 MB / 488.9 MB, free: 2.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4238, allocations: 0 / 488.9 MB, free: 2.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000555/0.4244, allocations: 295.1 kB / 489.2 MB, free: 2.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.4258, allocations: 278.1 kB / 489.5 MB, free: 2.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.4276, allocations: 1.256 MB / 490.7 MB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.428, allocations: 0.8329 MB / 491.6 MB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005276/0.4286, allocations: 140.4 kB / 491.7 MB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.4287, allocations: 55.42 kB / 491.7 MB, free: 15.7 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4287, allocations: 4 kB / 491.7 MB, free: 15.69 MB / 414.1 MB Notification: Performance of Templates: time 0.06001/0.4888, allocations: 44.61 MB / 0.5238 GB, free: 3.098 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches