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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008339/0.0008339, allocations: 179.2 kB / 17.04 MB, free: 5.113 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.155/1.155, allocations: 223.3 MB / 241 MB, free: 11.81 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007594/0.0007594, allocations: 95.09 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002201/0.0002202, allocations: 15.94 kB / 351.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1675, allocations: 50.39 MB / 402.2 MB, free: 32.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.01754/0.1851, allocations: 24.54 MB / 426.7 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1868, allocations: 2.066 MB / 428.8 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.1868, allocations: 4 kB / 428.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.187, allocations: 39.8 kB / 428.8 MB, free: 5.891 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.1873, allocations: 147.2 kB / 429 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008758/0.196, allocations: 4.822 MB / 433.8 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.1963, allocations: 386.7 kB / 434.2 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.1964, allocations: 9.125 kB / 434.2 MB, free: 0.543 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1965, allocations: 123.5 kB / 434.3 MB, free: 432 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1966, allocations: 123.6 kB / 434.4 MB, free: 308 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1967, allocations: 12 kB / 434.4 MB, free: 296 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01139/0.2081, allocations: 8.314 MB / 442.8 MB, free: 7.965 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.2082, allocations: 63.83 kB / 442.8 MB, free: 7.902 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.2082, allocations: 57.64 kB / 442.9 MB, free: 7.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003467/0.2117, allocations: 3.021 MB / 445.9 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2117, allocations: 3.938 kB / 445.9 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2117, allocations: 0 / 445.9 MB, free: 4.809 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.2117, allocations: 0 / 445.9 MB, free: 4.809 MB / 314.7 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.002241/0.214, allocations: 1.072 MB / 447 MB, free: 3.684 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.214, allocations: 12.03 kB / 447 MB, free: 3.672 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.2141, allocations: 19.81 kB / 447 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.2143, allocations: 214.9 kB / 447.2 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.2144, allocations: 12.33 kB / 447.2 MB, free: 3.391 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.2144, allocations: 19.89 kB / 447.3 MB, free: 3.371 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006123/0.215, allocations: 289.4 kB / 447.5 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.2151, allocations: 3.906 kB / 447.5 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.2151, allocations: 4 kB / 447.5 MB, free: 3.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.2151, allocations: 15.98 kB / 447.6 MB, free: 3.055 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006911/0.2158, allocations: 311.7 kB / 447.9 MB, free: 2.75 MB / 314.7 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.00122/0.2171, allocations: 0.813 MB / 448.7 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.2177, allocations: 245.8 kB / 448.9 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.218, allocations: 137.6 kB / 449 MB, free: 1.461 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01378/0.2318, allocations: 12.92 MB / 462 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.2318, allocations: 34.56 kB / 462 MB, free: 1.988 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.913e-06/0.2318, allocations: 0 / 462 MB, free: 1.988 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.002478/0.2343, allocations: 0.6953 MB / 462.7 MB, free: 1.293 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.2344, allocations: 89.05 kB / 462.8 MB, free: 1.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.108e-05/0.2345, allocations: 125.8 kB / 462.9 MB, free: 1.055 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.2345, allocations: 41.64 kB / 462.9 MB, free: 1.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.2346, allocations: 104.8 kB / 463 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.435e-05/0.2347, allocations: 122.2 kB / 463.2 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.2347, allocations: 8 kB / 463.2 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.472e-05/0.2348, allocations: 326.8 kB / 463.5 MB, free: 452 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.2351, allocations: 131.9 kB / 463.6 MB, free: 320 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.2355, allocations: 211.5 kB / 463.8 MB, free: 80 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.236, allocations: 151.9 kB / 464 MB, free: 15.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.236, allocations: 11.95 kB / 464 MB, free: 15.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009944/0.237, allocations: 407.6 kB / 464.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.237, allocations: 8 kB / 464.4 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.237, allocations: 0 / 464.4 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.237, allocations: 7.984 kB / 464.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.2375, allocations: 91.88 kB / 464.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2375, allocations: 0 / 464.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.2378, allocations: 35.83 kB / 464.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.2378, allocations: 24.02 kB / 464.5 MB, free: 15.35 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.2379, allocations: 145.7 kB / 464.7 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.2381, allocations: 23.7 kB / 464.7 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004216/0.2385, allocations: 194.3 kB / 464.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2385, allocations: 4 kB / 464.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2385, allocations: 0 / 464.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.2385, allocations: 0 / 464.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.24, allocations: 0.7665 MB / 465.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.24, allocations: 0 / 465.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.2404, allocations: 79.88 kB / 465.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.2404, allocations: 4 kB / 465.8 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.2404, allocations: 11.98 kB / 465.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.2404, allocations: 7.953 kB / 465.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2404, allocations: 4 kB / 465.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.2417, allocations: 0.7062 MB / 466.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.2419, allocations: 124.8 kB / 466.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.2419, allocations: 8 kB / 466.6 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.2422, allocations: 20.05 kB / 466.6 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.2423, allocations: 27.92 kB / 466.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.2423, allocations: 19.98 kB / 466.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.699e-05/0.2424, allocations: 95.27 kB / 466.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2424, allocations: 3.938 kB / 466.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002073/0.2445, allocations: 0.9331 MB / 467.7 MB, free: 12.05 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00288/0.2473, allocations: 1.167 MB / 468.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008313/0.2482, allocations: 341.9 kB / 469.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2482, allocations: 4 kB / 469.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.2486, allocations: 181.4 kB / 469.4 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000633/0.2492, allocations: 96.92 kB / 469.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.2505, allocations: 0.7583 MB / 470.2 MB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.2507, allocations: 0.7374 MB / 471 MB, free: 8.703 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.2509, allocations: 43.42 kB / 471 MB, free: 8.664 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2509, allocations: 0 / 471 MB, free: 8.664 MB / 346.7 MB Notification: Performance of Templates: time 0.02275/0.2736, allocations: 19.64 MB / 490.7 MB, free: 5.004 MB / 362.7 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","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches