Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001643/0.001644, allocations: 112 kB / 18.37 MB, free: 4.73 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.001944/0.001944, allocations: 184.5 kB / 19.29 MB, free: 3.812 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.378/1.378, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001222/0.001222, allocations: 52.39 kB / 329.1 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09332/0.09455, allocations: 46.61 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2311/0.3257, allocations: 26.58 MB / 402.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003279/0.329, allocations: 2.235 MB / 404.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.3292, allocations: 5.344 kB / 404.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.3297, allocations: 59.64 kB / 404.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005295/0.3303, allocations: 155.1 kB / 404.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01964/0.3499, allocations: 6.159 MB / 410.9 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005591/0.3505, allocations: 312.5 kB / 411.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.3505, allocations: 8.281 kB / 411.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.3508, allocations: 141.3 kB / 411.4 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.351, allocations: 115.4 kB / 411.5 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.351, allocations: 11.94 kB / 411.5 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01923/0.3703, allocations: 9.398 MB / 420.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.3705, allocations: 67.78 kB / 421 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.3707, allocations: 95.59 kB / 421.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01347/0.3842, allocations: 4.679 MB / 425.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3842, allocations: 0 / 425.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.848e-06/0.3842, allocations: 0 / 425.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.3842, allocations: 3.938 kB / 425.8 MB, free: 13.65 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003636/0.3879, allocations: 1.108 MB / 426.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3879, allocations: 12.03 kB / 426.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.3881, allocations: 24.75 kB / 426.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.3884, allocations: 214.8 kB / 427.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.3884, allocations: 12.33 kB / 427.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.3885, allocations: 15.91 kB / 427.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007088/0.3892, allocations: 285.4 kB / 427.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3892, allocations: 0 / 427.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.3893, allocations: 11.98 kB / 427.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.3893, allocations: 8 kB / 427.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000749/0.39, allocations: 311.7 kB / 427.7 MB, free: 11.56 MB / 350.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.001388/0.3914, allocations: 0.8281 MB / 428.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007144/0.3922, allocations: 251.9 kB / 428.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.3925, allocations: 145.9 kB / 429 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01505/0.4075, allocations: 12.84 MB / 441.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.181e-05/0.4076, allocations: 42.5 kB / 441.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.314e-06/0.4076, allocations: 0 / 441.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002925/0.4106, allocations: 0.686 MB / 442.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.4106, allocations: 85.11 kB / 442.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.4108, allocations: 125.8 kB / 442.7 MB, free: 9.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.4108, allocations: 29.7 kB / 442.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.4109, allocations: 104.8 kB / 442.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.411, allocations: 134 kB / 443 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.4111, allocations: 73.64 kB / 443.1 MB, free: 9.566 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4113, allocations: 334.8 kB / 443.4 MB, free: 9.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.4117, allocations: 132.8 kB / 443.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.4122, allocations: 211.6 kB / 443.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008946/0.4131, allocations: 356 kB / 444.1 MB, free: 8.492 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4131, allocations: 0 / 444.1 MB, free: 8.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00114/0.4142, allocations: 421.2 kB / 444.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4142, allocations: 4 kB / 444.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4143, allocations: 7.938 kB / 444.5 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.4143, allocations: 4.219 kB / 444.5 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.4148, allocations: 98.75 kB / 444.6 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.4148, allocations: 11.92 kB / 444.6 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.4151, allocations: 19.98 kB / 444.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.4151, allocations: 19.98 kB / 444.7 MB, free: 7.914 MB / 366.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.0001468/0.4153, allocations: 145.6 kB / 444.8 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.4154, allocations: 27.81 kB / 444.8 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.4159, allocations: 184.8 kB / 445 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.4159, allocations: 5.078 kB / 445 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4159, allocations: 3.938 kB / 445 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4159, allocations: 7.984 kB / 445 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.4175, allocations: 0.7559 MB / 445.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4176, allocations: 0 / 445.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.418, allocations: 79.88 kB / 445.9 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.418, allocations: 0 / 445.9 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.418, allocations: 16 kB / 445.9 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.418, allocations: 12.09 kB / 445.9 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.418, allocations: 0 / 445.9 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.4195, allocations: 0.7023 MB / 446.6 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.4197, allocations: 128.9 kB / 446.7 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.4197, allocations: 11.98 kB / 446.7 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.4201, allocations: 19.98 kB / 446.7 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.4201, allocations: 31.89 kB / 446.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.4202, allocations: 15.98 kB / 446.8 MB, free: 5.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.383e-05/0.4202, allocations: 99.27 kB / 446.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.213e-06/0.4202, allocations: 0 / 446.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002935/0.4232, allocations: 0.933 MB / 447.8 MB, free: 4.613 MB / 366.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.004432/0.4276, allocations: 1.249 MB / 449.1 MB, free: 3.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.4288, allocations: 347.6 kB / 449.4 MB, free: 3.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4288, allocations: 448 / 449.4 MB, free: 3.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004592/0.4293, allocations: 183.6 kB / 449.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007378/0.4301, allocations: 98.78 kB / 449.7 MB, free: 2.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.4315, allocations: 0.6391 MB / 450.3 MB, free: 2.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.4318, allocations: 0.7371 MB / 451.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.432, allocations: 43.41 kB / 451.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.432, allocations: 0 / 451.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of Templates: time 0.03121/0.4632, allocations: 20.93 MB / 472 MB, free: 12.28 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches