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.001392/0.001392, allocations: 112.5 kB / 17.28 MB, free: 6.199 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.00154/0.00154, allocations: 185.3 kB / 18.2 MB, free: 5.281 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.323/1.323, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001102/0.001102, allocations: 51.92 kB / 280.2 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08237/0.08348, allocations: 46.63 MB / 326.8 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0304/0.1139, allocations: 26.75 MB / 353.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.1165, allocations: 2.243 MB / 355.8 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.697e-05/0.1166, allocations: 0 / 355.8 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.1169, allocations: 51.72 kB / 355.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.1173, allocations: 147.3 kB / 356 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01387/0.1312, allocations: 5.542 MB / 361.5 MB, free: 1.941 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004106/0.1316, allocations: 314.6 kB / 361.8 MB, free: 1.633 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.1317, allocations: 12.91 kB / 361.8 MB, free: 1.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.1319, allocations: 135.5 kB / 362 MB, free: 1.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.1321, allocations: 127.6 kB / 362.1 MB, free: 1.359 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.1321, allocations: 12 kB / 362.1 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01427/0.1464, allocations: 9.335 MB / 371.4 MB, free: 8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1465, allocations: 71.78 kB / 371.5 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.1467, allocations: 95.58 kB / 371.6 MB, free: 7.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00987/0.1566, allocations: 4.768 MB / 376.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1566, allocations: 0 / 376.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1566, allocations: 0 / 376.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1566, allocations: 0 / 376.4 MB, free: 3.059 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.003276/0.1599, allocations: 1.112 MB / 377.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1599, allocations: 8.031 kB / 377.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.1601, allocations: 28.5 kB / 377.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.1603, allocations: 214.7 kB / 377.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1604, allocations: 12.33 kB / 377.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.1604, allocations: 20 kB / 377.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/0.1612, allocations: 289.3 kB / 378 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1612, allocations: 0 / 378 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.1612, allocations: 8 kB / 378 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.1613, allocations: 8 kB / 378 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007708/0.162, allocations: 315.7 kB / 378.4 MB, free: 0.9648 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.001482/0.1635, allocations: 0.8203 MB / 379.2 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1415/0.305, allocations: 250.1 kB / 379.4 MB, free: 53.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.3054, allocations: 132.2 kB / 379.6 MB, free: 53.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01363/0.319, allocations: 12.85 MB / 392.4 MB, free: 40.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.3191, allocations: 35.02 kB / 392.4 MB, free: 40.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.3191, allocations: 4.875 kB / 392.4 MB, free: 40.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.0028/0.3219, allocations: 0.686 MB / 393.1 MB, free: 40.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.322, allocations: 82.66 kB / 393.2 MB, free: 40.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.3221, allocations: 122.8 kB / 393.3 MB, free: 40.03 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.3221, allocations: 39.06 kB / 393.4 MB, free: 39.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.3222, allocations: 110.6 kB / 393.5 MB, free: 39.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.3223, allocations: 122.9 kB / 393.6 MB, free: 39.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.3224, allocations: 73.89 kB / 393.7 MB, free: 39.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.285e-05/0.3225, allocations: 327.1 kB / 394 MB, free: 39.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.3228, allocations: 133 kB / 394.1 MB, free: 39.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.3233, allocations: 219.5 kB / 394.3 MB, free: 39.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008688/0.3242, allocations: 360.3 kB / 394.7 MB, free: 39.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3242, allocations: 2.875 kB / 394.7 MB, free: 39.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001105/0.3254, allocations: 420 kB / 395.1 MB, free: 38.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3254, allocations: 6.625 kB / 395.1 MB, free: 38.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.3254, allocations: 2.797 kB / 395.1 MB, free: 38.96 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.3254, allocations: 3.5 kB / 395.1 MB, free: 38.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.3259, allocations: 85.86 kB / 395.2 MB, free: 38.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3259, allocations: 8.938 kB / 395.2 MB, free: 38.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.3263, allocations: 38.77 kB / 395.2 MB, free: 38.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.3263, allocations: 15.92 kB / 395.2 MB, free: 38.93 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.0001364/0.3265, allocations: 139.5 kB / 395.4 MB, free: 38.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.3266, allocations: 19.91 kB / 395.4 MB, free: 38.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004841/0.3271, allocations: 193.3 kB / 395.6 MB, free: 38.69 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3271, allocations: 3.875 kB / 395.6 MB, free: 38.69 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.3271, allocations: 5.219 kB / 395.6 MB, free: 38.69 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.3271, allocations: 12.8 kB / 395.6 MB, free: 38.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.3287, allocations: 0.7717 MB / 396.4 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.3288, allocations: 3.125 kB / 396.4 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.3292, allocations: 77.83 kB / 396.5 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3292, allocations: 3.25 kB / 396.5 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.3293, allocations: 13.66 kB / 396.5 MB, free: 38.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.3293, allocations: 11.02 kB / 396.5 MB, free: 38.17 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3293, allocations: 2.188 kB / 396.5 MB, free: 38.17 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.3307, allocations: 0.701 MB / 397.2 MB, free: 37.76 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3308, allocations: 122.7 kB / 397.3 MB, free: 37.65 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.3309, allocations: 11.41 kB / 397.3 MB, free: 37.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.3312, allocations: 19.77 kB / 397.3 MB, free: 37.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.3313, allocations: 29.36 kB / 397.4 MB, free: 37.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.3313, allocations: 14.3 kB / 397.4 MB, free: 37.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.1e-05/0.3314, allocations: 98.81 kB / 397.5 MB, free: 37.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3314, allocations: 5.344 kB / 397.5 MB, free: 37.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002702/0.3341, allocations: 0.9254 MB / 398.4 MB, free: 37.46 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.004689/0.3388, allocations: 1.266 MB / 399.7 MB, free: 37.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.34, allocations: 358.9 kB / 400 MB, free: 37.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.34, allocations: 1.438 kB / 400 MB, free: 37.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004726/0.3405, allocations: 188.8 kB / 400.2 MB, free: 37.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007755/0.3413, allocations: 97.61 kB / 400.3 MB, free: 37.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.3428, allocations: 0.6828 MB / 401 MB, free: 36.61 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.343, allocations: 0.734 MB / 401.7 MB, free: 35.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004648/0.3435, allocations: 83.7 kB / 401.8 MB, free: 35.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.3437, allocations: 44.19 kB / 401.9 MB, free: 35.87 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3437, allocations: 0 / 401.9 MB, free: 35.87 MB / 318.1 MB Notification: Performance of Templates: time 0.03437/0.378, allocations: 30.89 MB / 432.7 MB, free: 9.414 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