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.0009363/0.0009364, allocations: 93.25 kB / 17.3 MB, free: 6.395 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.001154/0.001154, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.367/1.367, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.000445/0.0004452, allocations: 12.22 kB / 281.4 MB, free: 3.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08238/0.08284, allocations: 47.57 MB / 328.9 MB, free: 3.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03142/0.1143, allocations: 27.67 MB / 356.6 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.117, allocations: 2.294 MB / 358.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.1171, allocations: 4 kB / 358.9 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.1174, allocations: 67.7 kB / 359 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.1178, allocations: 143.3 kB / 359.1 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01487/0.1326, allocations: 5.034 MB / 364.2 MB, free: 468 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000767/0.1334, allocations: 470.4 kB / 364.6 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.87e-05/0.1335, allocations: 16.89 kB / 364.6 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.1338, allocations: 119.5 kB / 364.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.1341, allocations: 127.6 kB / 364.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.1341, allocations: 4 kB / 364.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01673/0.1509, allocations: 9.483 MB / 374.4 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.1511, allocations: 63.84 kB / 374.4 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.1513, allocations: 117.2 kB / 374.5 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.1628, allocations: 4.737 MB / 379.3 MB, free: 1.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.1628, allocations: 4 kB / 379.3 MB, free: 1.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1628, allocations: 0 / 379.3 MB, free: 1.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1629, allocations: 4 kB / 379.3 MB, free: 1.297 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003417/0.1663, allocations: 1.069 MB / 380.4 MB, free: 180 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1663, allocations: 8.031 kB / 380.4 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.1665, allocations: 28.44 kB / 380.4 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1495/0.316, allocations: 207.8 kB / 380.6 MB, free: 52.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.316, allocations: 11.45 kB / 380.6 MB, free: 52.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.3161, allocations: 17.61 kB / 380.6 MB, free: 52.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008453/0.3169, allocations: 292.3 kB / 380.9 MB, free: 52.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.317, allocations: 0 / 380.9 MB, free: 52.11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.317, allocations: 9.688 kB / 380.9 MB, free: 52.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.317, allocations: 5.344 kB / 380.9 MB, free: 52.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008377/0.3179, allocations: 312.3 kB / 381.2 MB, free: 52.11 MB / 318.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.001417/0.3193, allocations: 0.8217 MB / 382 MB, free: 51.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006835/0.32, allocations: 249.4 kB / 382.3 MB, free: 51.56 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.3203, allocations: 139.2 kB / 382.4 MB, free: 51.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01331/0.3336, allocations: 12.9 MB / 395.3 MB, free: 38.79 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.3337, allocations: 45.23 kB / 395.4 MB, free: 38.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.344e-06/0.3337, allocations: 1.969 kB / 395.4 MB, free: 38.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002922/0.3366, allocations: 0.6859 MB / 396.1 MB, free: 38.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.3367, allocations: 84.42 kB / 396.1 MB, free: 38.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.3368, allocations: 137 kB / 396.3 MB, free: 38.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.3368, allocations: 31.64 kB / 396.3 MB, free: 38.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.3369, allocations: 108.4 kB / 396.4 MB, free: 38.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/0.337, allocations: 128.2 kB / 396.5 MB, free: 38.26 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.337, allocations: 37.94 kB / 396.6 MB, free: 38.24 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.087e-05/0.3371, allocations: 328.7 kB / 396.9 MB, free: 37.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.3375, allocations: 139.8 kB / 397 MB, free: 37.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/0.338, allocations: 206.6 kB / 397.2 MB, free: 37.76 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008914/0.3389, allocations: 358.9 kB / 397.6 MB, free: 37.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3389, allocations: 4.156 kB / 397.6 MB, free: 37.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001159/0.3401, allocations: 413.8 kB / 398 MB, free: 37.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3401, allocations: 8.062 kB / 398 MB, free: 37.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3401, allocations: 5.625 kB / 398 MB, free: 37.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3401, allocations: 4.469 kB / 398 MB, free: 37.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/0.3406, allocations: 91.91 kB / 398.1 MB, free: 37.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3406, allocations: 9.297 kB / 398.1 MB, free: 37.4 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.3409, allocations: 36.19 kB / 398.1 MB, free: 37.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.341, allocations: 18.92 kB / 398.2 MB, free: 37.38 MB / 318.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.0001242/0.3411, allocations: 139.3 kB / 398.3 MB, free: 37.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.3413, allocations: 19.22 kB / 398.3 MB, free: 37.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004729/0.3418, allocations: 185.5 kB / 398.5 MB, free: 37.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.3418, allocations: 8.875 kB / 398.5 MB, free: 37.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3418, allocations: 6.094 kB / 398.5 MB, free: 37.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3418, allocations: 2.719 kB / 398.5 MB, free: 37.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.3434, allocations: 0.7621 MB / 399.3 MB, free: 36.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.3434, allocations: 1.281 kB / 399.3 MB, free: 36.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.3438, allocations: 79.47 kB / 399.4 MB, free: 36.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3438, allocations: 3.844 kB / 399.4 MB, free: 36.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.3439, allocations: 9.062 kB / 399.4 MB, free: 36.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3439, allocations: 7.078 kB / 399.4 MB, free: 36.63 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3439, allocations: 11.38 kB / 399.4 MB, free: 36.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.3453, allocations: 0.7006 MB / 400.1 MB, free: 36.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.863e-05/0.3454, allocations: 119 kB / 400.2 MB, free: 36.1 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.3455, allocations: 11.91 kB / 400.2 MB, free: 36.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.3458, allocations: 27.27 kB / 400.2 MB, free: 36.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.3459, allocations: 27.41 kB / 400.3 MB, free: 36.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.3459, allocations: 18.98 kB / 400.3 MB, free: 36.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.886e-05/0.346, allocations: 94.73 kB / 400.4 MB, free: 36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.346, allocations: 0 / 400.4 MB, free: 36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002942/0.3489, allocations: 0.9274 MB / 401.3 MB, free: 35.91 MB / 318.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.004266/0.3532, allocations: 1.266 MB / 402.6 MB, free: 35.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.3543, allocations: 349.9 kB / 402.9 MB, free: 35.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3543, allocations: 0 / 402.9 MB, free: 35.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.3548, allocations: 178.8 kB / 403.1 MB, free: 35.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007715/0.3556, allocations: 99.69 kB / 403.2 MB, free: 35.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.3568, allocations: 0.7234 MB / 403.9 MB, free: 35.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.357, allocations: 0.7442 MB / 404.7 MB, free: 34.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004379/0.3575, allocations: 83.53 kB / 404.7 MB, free: 34.33 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.3576, allocations: 41.88 kB / 404.8 MB, free: 34.31 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3576, allocations: 5.625 kB / 404.8 MB, free: 34.31 MB / 318.1 MB Notification: Performance of Templates: time 0.03318/0.3908, allocations: 30.65 MB / 435.4 MB, free: 7.156 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches