Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 107.6 kB / 17.16 MB, free: 6.082 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.001293/0.001293, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.338/1.338, allocations: 222.9 MB / 241.7 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 46.48 kB / 300.6 MB, free: 6.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09767/0.09884, allocations: 49.45 MB / 350.1 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2212/0.3201, allocations: 28.21 MB / 378.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002717/0.3228, allocations: 2.341 MB / 380.6 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.323, allocations: 4 kB / 380.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.3234, allocations: 55.55 kB / 380.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.3238, allocations: 147.1 kB / 380.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01638/0.3402, allocations: 5.4 MB / 386.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006608/0.3409, allocations: 471.1 kB / 386.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.013e-05/0.341, allocations: 11.08 kB / 386.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.3412, allocations: 116.5 kB / 386.8 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.3414, allocations: 124 kB / 386.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.3415, allocations: 7.562 kB / 386.9 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01866/0.3601, allocations: 9.58 MB / 396.5 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.3603, allocations: 74.48 kB / 396.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.3605, allocations: 83.22 kB / 396.7 MB, free: 4.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007258/0.3678, allocations: 3.185 MB / 399.8 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.3678, allocations: 0 / 399.8 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3679, allocations: 0 / 399.8 MB, free: 2.793 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.3679, allocations: 0 / 399.8 MB, free: 2.793 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00377/0.3716, allocations: 1.123 MB / 401 MB, free: 1.949 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3717, allocations: 10.69 kB / 401 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.3719, allocations: 19.56 kB / 401 MB, free: 1.941 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.3721, allocations: 219.9 kB / 401.2 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.3721, allocations: 10.11 kB / 401.2 MB, free: 1.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.3722, allocations: 19.72 kB / 401.2 MB, free: 1.691 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006621/0.3728, allocations: 285.7 kB / 401.5 MB, free: 1.492 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.3729, allocations: 3.984 kB / 401.5 MB, free: 1.488 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.3729, allocations: 12 kB / 401.5 MB, free: 1.477 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.3729, allocations: 8 kB / 401.5 MB, free: 1.469 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006847/0.3736, allocations: 315.3 kB / 401.9 MB, free: 1.164 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.3748, allocations: 0.8129 MB / 402.7 MB, free: 280 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006291/0.3755, allocations: 254.3 kB / 402.9 MB, free: 8 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.3758, allocations: 133.6 kB / 403 MB, free: 15.87 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01571/0.3915, allocations: 12.86 MB / 415.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.3916, allocations: 42.5 kB / 415.9 MB, free: 464 kB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.274e-06/0.3916, allocations: 0 / 415.9 MB, free: 464 kB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.00299/0.3946, allocations: 0.685 MB / 416.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.3947, allocations: 85.11 kB / 416.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3948, allocations: 125.8 kB / 416.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.3948, allocations: 29.7 kB / 416.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.3949, allocations: 108.8 kB / 417 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.395, allocations: 126.2 kB / 417.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.3951, allocations: 69.67 kB / 417.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3953, allocations: 326.8 kB / 417.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.3956, allocations: 139.9 kB / 417.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.3961, allocations: 219.4 kB / 417.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008693/0.397, allocations: 357 kB / 418.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.397, allocations: 0 / 418.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001116/0.3981, allocations: 417.6 kB / 418.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3982, allocations: 8 kB / 418.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3982, allocations: 0 / 418.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3982, allocations: 4.219 kB / 418.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005065/0.3987, allocations: 99.86 kB / 418.7 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.3987, allocations: 4 kB / 418.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.3991, allocations: 27.83 kB / 418.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.3991, allocations: 19.98 kB / 418.7 MB, free: 13.53 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.3993, allocations: 153.6 kB / 418.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.3994, allocations: 19.81 kB / 418.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/0.3999, allocations: 179.9 kB / 419.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.3999, allocations: 8 kB / 419.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4, allocations: 3.938 kB / 419.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4, allocations: 0 / 419.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.4016, allocations: 0.77 MB / 419.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.4016, allocations: 4 kB / 419.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.4021, allocations: 84.03 kB / 420 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.4021, allocations: 4 kB / 420 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.4021, allocations: 11.98 kB / 420 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-06/0.4021, allocations: 7.75 kB / 420 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4021, allocations: 0.5 kB / 420 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.4037, allocations: 0.709 MB / 420.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.4039, allocations: 124.8 kB / 420.8 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.4039, allocations: 11.94 kB / 420.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.4043, allocations: 17.86 kB / 420.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.4043, allocations: 27.91 kB / 420.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.4044, allocations: 24.05 kB / 420.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.573e-05/0.4045, allocations: 95.27 kB / 421 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4045, allocations: 0 / 421 MB, free: 11.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003088/0.4076, allocations: 0.937 MB / 421.9 MB, free: 10.22 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004325/0.4119, allocations: 1.241 MB / 423.2 MB, free: 8.973 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.413, allocations: 350.8 kB / 423.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.413, allocations: 0 / 423.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004549/0.4134, allocations: 175.7 kB / 423.7 MB, free: 8.461 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/0.4142, allocations: 96.92 kB / 423.8 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.4157, allocations: 0.7064 MB / 424.5 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.416, allocations: 0.7374 MB / 425.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.4162, allocations: 39.36 kB / 425.3 MB, free: 6.812 MB / 334.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4162, allocations: 4 kB / 425.3 MB, free: 6.809 MB / 334.1 MB Notification: Performance of Templates: time 0.02814/0.4444, allocations: 19.74 MB / 445 MB, free: 3.051 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches