Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001967/0.001967, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003296/0.003296, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.401/2.401, allocations: 227.4 MB / 246.9 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4393/0.4393, allocations: 46.11 MB / 344.3 MB, free: 11.72 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003106/0.003106, allocations: 77.16 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2197, allocations: 62.45 MB / 479.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.704/0.9238, allocations: 151.8 MB / 0.6169 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.9264, allocations: 1.561 MB / 0.6184 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.9265, allocations: 0 / 0.6184 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.9269, allocations: 47.55 kB / 0.6185 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00292/0.9299, allocations: 0.8942 MB / 0.6193 GB, free: 9.562 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.528e-06/0.9299, allocations: 0 / 0.6193 GB, free: 9.562 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.9302, allocations: 147.5 kB / 0.6195 GB, free: 9.418 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.9302, allocations: 7.844 kB / 0.6195 GB, free: 9.414 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.594e-05/0.9303, allocations: 19.92 kB / 0.6195 GB, free: 9.395 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.367e-05/0.9304, allocations: 39.83 kB / 0.6195 GB, free: 9.355 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.9304, allocations: 0 / 0.6195 GB, free: 9.355 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003946/0.9343, allocations: 1.957 MB / 0.6214 GB, free: 7.398 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.9344, allocations: 15.98 kB / 0.6215 GB, free: 7.383 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.9345, allocations: 15.88 kB / 0.6215 GB, free: 7.367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.9358, allocations: 0.6588 MB / 0.6221 GB, free: 6.707 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.9358, allocations: 0 / 0.6221 GB, free: 6.707 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.9358, allocations: 0 / 0.6221 GB, free: 6.707 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.9358, allocations: 0 / 0.6221 GB, free: 6.707 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001004/0.9369, allocations: 0.4952 MB / 0.6226 GB, free: 6.164 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.9369, allocations: 12.88 kB / 0.6226 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.937, allocations: 0.9375 kB / 0.6226 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.9371, allocations: 172.8 kB / 0.6228 GB, free: 5.945 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.9372, allocations: 0 / 0.6228 GB, free: 5.945 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.9372, allocations: 7.984 kB / 0.6228 GB, free: 5.938 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.9374, allocations: 85.61 kB / 0.6229 GB, free: 5.848 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.9374, allocations: 0 / 0.6229 GB, free: 5.848 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.9374, allocations: 0 / 0.6229 GB, free: 5.848 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.9375, allocations: 15.98 kB / 0.6229 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.9376, allocations: 63.91 kB / 0.6229 GB, free: 5.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.9382, allocations: 320.5 kB / 0.6233 GB, free: 5.406 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.9383, allocations: 46.38 kB / 0.6233 GB, free: 5.355 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.9384, allocations: 16.98 kB / 0.6233 GB, free: 5.336 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.9386, allocations: 259.3 kB / 0.6236 GB, free: 5.027 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.9387, allocations: 34.56 kB / 0.6236 GB, free: 4.984 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.9387, allocations: 0 / 0.6236 GB, free: 4.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002622/0.9389, allocations: 69.62 kB / 0.6237 GB, free: 4.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.939, allocations: 55.34 kB / 0.6237 GB, free: 4.844 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.9391, allocations: 105.8 kB / 0.6238 GB, free: 4.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.9391, allocations: 25.7 kB / 0.6238 GB, free: 4.699 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.9392, allocations: 91.95 kB / 0.6239 GB, free: 4.605 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.9392, allocations: 23.73 kB / 0.6239 GB, free: 4.582 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.9393, allocations: 21.72 kB / 0.624 GB, free: 4.555 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9394, allocations: 318.8 kB / 0.6243 GB, free: 4.234 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.82e-05/0.9395, allocations: 8 kB / 0.6243 GB, free: 4.227 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.9395, allocations: 35.42 kB / 0.6243 GB, free: 4.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.924e-05/0.9396, allocations: 59.36 kB / 0.6244 GB, free: 4.109 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9397, allocations: 2.906 kB / 0.6244 GB, free: 4.109 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001394/0.9398, allocations: 93.48 kB / 0.6245 GB, free: 4.012 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.9398, allocations: 7.938 kB / 0.6245 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.9398, allocations: 4 kB / 0.6245 GB, free: 4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.9399, allocations: 0 / 0.6245 GB, free: 4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.94, allocations: 15.94 kB / 0.6245 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.94, allocations: 4.094 kB / 0.6245 GB, free: 3.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.94, allocations: 8 kB / 0.6245 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.9401, allocations: 7.938 kB / 0.6245 GB, free: 3.969 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 9.296e-05/0.9402, allocations: 113.8 kB / 0.6246 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.9402, allocations: 7.953 kB / 0.6246 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.9404, allocations: 91.31 kB / 0.6247 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.9404, allocations: 0 / 0.6247 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9404, allocations: 0 / 0.6247 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.9404, allocations: 0 / 0.6247 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.9406, allocations: 165.7 kB / 0.6249 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.9406, allocations: 3.984 kB / 0.6249 GB, free: 3.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.294e-05/0.9407, allocations: 8 kB / 0.6249 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.9407, allocations: 3.938 kB / 0.6249 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.9407, allocations: 0 / 0.6249 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.9407, allocations: 0 / 0.6249 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.9407, allocations: 1.125 kB / 0.6249 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.9409, allocations: 155.5 kB / 0.625 GB, free: 3.355 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.941, allocations: 89 kB / 0.6251 GB, free: 3.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.941, allocations: 3.938 kB / 0.6251 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.629e-05/0.941, allocations: 4 kB / 0.6251 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.9411, allocations: 6.875 kB / 0.6251 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.9411, allocations: 4 kB / 0.6251 GB, free: 3.234 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.9411, allocations: 87.27 kB / 0.6252 GB, free: 3.148 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9411, allocations: 4 kB / 0.6252 GB, free: 3.145 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005571/0.9417, allocations: 151.8 kB / 0.6254 GB, free: 2.996 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 4 * Array equations: 1 * 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.001008/0.9427, allocations: 329.1 kB / 0.6257 GB, free: 2.672 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.9429, allocations: 44.03 kB / 0.6257 GB, free: 2.629 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9429, allocations: 4.062 kB / 0.6257 GB, free: 2.625 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/0.9429, allocations: 15.98 kB / 0.6257 GB, free: 2.609 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.9432, allocations: 11.98 kB / 0.6258 GB, free: 2.598 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.9437, allocations: 209.2 kB / 0.626 GB, free: 2.359 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.944, allocations: 0.6848 MB / 0.6266 GB, free: 1.648 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.9441, allocations: 15.44 kB / 0.6266 GB, free: 1.633 MB / 462.1 MB Notification: Performance of SimCode: time 2.6e-07/0.9441, allocations: 0 / 0.6266 GB, free: 1.633 MB / 462.1 MB Notification: Performance of Templates: time 0.006238/0.9503, allocations: 3.173 MB / 0.6297 GB, free: 14.46 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches