Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.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.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001839/0.00184, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002344/0.002344, allocations: 205.8 kB / 18.92 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.676/1.676, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.11 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 75.08 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1279, allocations: 62.45 MB / 480.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4175/0.5454, allocations: 152.2 MB / 0.6176 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.5475, allocations: 1.196 MB / 0.6187 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.5476, allocations: 0 / 0.6187 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.5478, allocations: 34.36 kB / 0.6188 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.999e-05/0.5479, allocations: 27.77 kB / 0.6188 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.5497, allocations: 395.2 kB / 0.6192 GB, free: 9.766 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.5499, allocations: 71.58 kB / 0.6192 GB, free: 9.695 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.714e-05/0.55, allocations: 0 / 0.6192 GB, free: 9.695 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.5501, allocations: 35.86 kB / 0.6193 GB, free: 9.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.5502, allocations: 35.86 kB / 0.6193 GB, free: 9.625 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.5502, allocations: 0 / 0.6193 GB, free: 9.625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.5517, allocations: 0.5066 MB / 0.6198 GB, free: 9.117 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.5517, allocations: 4 kB / 0.6198 GB, free: 9.113 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.5518, allocations: 31.84 kB / 0.6198 GB, free: 9.082 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.5523, allocations: 223.5 kB / 0.6201 GB, free: 8.863 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5523, allocations: 0 / 0.6201 GB, free: 8.863 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5523, allocations: 0 / 0.6201 GB, free: 8.863 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.5524, allocations: 0 / 0.6201 GB, free: 8.863 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007733/0.5531, allocations: 407.3 kB / 0.6204 GB, free: 8.418 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.5532, allocations: 8.031 kB / 0.6204 GB, free: 8.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.5533, allocations: 5.312 kB / 0.6205 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.5534, allocations: 170.9 kB / 0.6206 GB, free: 8.199 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.5534, allocations: 4 kB / 0.6206 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.5535, allocations: 7.984 kB / 0.6206 GB, free: 8.188 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.5537, allocations: 81.59 kB / 0.6207 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.5537, allocations: 3.875 kB / 0.6207 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.5537, allocations: 4 kB / 0.6207 GB, free: 8.098 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.5538, allocations: 7.938 kB / 0.6207 GB, free: 8.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.835e-05/0.5539, allocations: 43.97 kB / 0.6208 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.5544, allocations: 385.8 kB / 0.6211 GB, free: 7.602 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.5546, allocations: 67.3 kB / 0.6212 GB, free: 7.527 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.99e-05/0.5546, allocations: 24.84 kB / 0.6212 GB, free: 7.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001946/0.5566, allocations: 1.221 MB / 0.6224 GB, free: 6.039 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.5566, allocations: 34.56 kB / 0.6224 GB, free: 5.996 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.5566, allocations: 4 kB / 0.6224 GB, free: 5.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.007347/0.564, allocations: 0.6571 MB / 0.6231 GB, free: 5.328 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.564, allocations: 55.41 kB / 0.6231 GB, free: 5.262 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.5642, allocations: 101.8 kB / 0.6232 GB, free: 5.152 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.673e-05/0.5642, allocations: 29.7 kB / 0.6233 GB, free: 5.117 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.5643, allocations: 88.33 kB / 0.6233 GB, free: 5.027 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.525e-05/0.5644, allocations: 43.3 kB / 0.6234 GB, free: 4.984 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.5645, allocations: 49.58 kB / 0.6234 GB, free: 4.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5646, allocations: 322.8 kB / 0.6237 GB, free: 4.605 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.5648, allocations: 79.94 kB / 0.6238 GB, free: 4.527 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.565, allocations: 106.5 kB / 0.6239 GB, free: 4.414 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.5655, allocations: 206.3 kB / 0.6241 GB, free: 4.207 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5655, allocations: 4 kB / 0.6241 GB, free: 4.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005773/0.5661, allocations: 241.5 kB / 0.6244 GB, free: 3.961 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.5661, allocations: 4 kB / 0.6244 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.5661, allocations: 0 / 0.6244 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.5662, allocations: 4 kB / 0.6244 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.5669, allocations: 55.88 kB / 0.6244 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.5669, allocations: 2.828 kB / 0.6244 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.5674, allocations: 20.05 kB / 0.6244 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.5675, allocations: 15.98 kB / 0.6245 GB, free: 3.863 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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.0001315/0.5676, allocations: 121.8 kB / 0.6246 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.5677, allocations: 7.906 kB / 0.6246 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008557/0.5685, allocations: 351.7 kB / 0.6249 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5686, allocations: 0 / 0.6249 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.5686, allocations: 0 / 0.6249 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5686, allocations: 7.938 kB / 0.6249 GB, free: 3.371 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.5698, allocations: 0.7518 MB / 0.6257 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5699, allocations: 3.688 kB / 0.6257 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.5705, allocations: 39.97 kB / 0.6257 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.5705, allocations: 0 / 0.6257 GB, free: 2.484 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.5705, allocations: 11.98 kB / 0.6257 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.5705, allocations: 0 / 0.6257 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5706, allocations: 0 / 0.6257 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.5712, allocations: 365.9 kB / 0.6261 GB, free: 2.102 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.5713, allocations: 101 kB / 0.6262 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.5713, allocations: 7.938 kB / 0.6262 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/0.5719, allocations: 11.98 kB / 0.6262 GB, free: 1.965 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.572, allocations: 15.92 kB / 0.6262 GB, free: 1.949 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.572, allocations: 15.98 kB / 0.6262 GB, free: 1.934 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.508e-05/0.5721, allocations: 79.28 kB / 0.6263 GB, free: 1.855 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5721, allocations: 0 / 0.6263 GB, free: 1.855 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004769/0.5725, allocations: 103.9 kB / 0.6264 GB, free: 1.754 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 (19): * Single equations (assignments): 19 * 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.0005306/0.5731, allocations: 227 kB / 0.6266 GB, free: 1.523 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005523/0.5736, allocations: 223.7 kB / 0.6268 GB, free: 1.305 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5737, allocations: 0 / 0.6268 GB, free: 1.305 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.5739, allocations: 115.9 kB / 0.6269 GB, free: 1.191 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.5744, allocations: 31.95 kB / 0.6269 GB, free: 1.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007141/0.5751, allocations: 315 kB / 0.6272 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.5754, allocations: 0.6964 MB / 0.6279 GB, free: 104 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.5756, allocations: 39.39 kB / 0.628 GB, free: 64 kB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5757, allocations: 4 kB / 0.628 GB, free: 60 kB / 462.1 MB Notification: Performance of Templates: time 0.007469/0.5831, allocations: 4.124 MB / 0.632 GB, free: 11.93 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches