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.0009623/0.0009624, allocations: 97.22 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.7 MB / 247.5 MB, free: 9.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2043/0.2043, allocations: 46.19 MB / 345.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002965, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 63.56 MB / 483.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4061/0.5312, allocations: 150.2 MB / 0.6191 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.533, allocations: 1.206 MB / 0.6203 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.5331, allocations: 0 / 0.6203 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.5333, allocations: 34.98 kB / 0.6203 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.85e-05/0.5333, allocations: 27.77 kB / 0.6203 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.5348, allocations: 389.1 kB / 0.6207 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.5349, allocations: 63.61 kB / 0.6208 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.65e-05/0.535, allocations: 11.97 kB / 0.6208 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.5351, allocations: 27.94 kB / 0.6208 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.066e-05/0.5352, allocations: 31.84 kB / 0.6208 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.5352, allocations: 0 / 0.6208 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.5365, allocations: 0.4988 MB / 0.6213 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.5365, allocations: 8 kB / 0.6213 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.5366, allocations: 53.56 kB / 0.6214 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.5371, allocations: 228.4 kB / 0.6216 GB, free: 11.85 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5371, allocations: 0 / 0.6216 GB, free: 11.85 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5371, allocations: 4 kB / 0.6216 GB, free: 11.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.5371, allocations: 0 / 0.6216 GB, free: 11.84 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.0006065/0.5377, allocations: 395.4 kB / 0.622 GB, free: 11.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.5378, allocations: 12.03 kB / 0.622 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.5378, allocations: 1.312 kB / 0.622 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.538, allocations: 174.9 kB / 0.6221 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.538, allocations: 4 kB / 0.6222 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.538, allocations: 7.984 kB / 0.6222 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.5382, allocations: 73.61 kB / 0.6222 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.5382, allocations: 4 kB / 0.6222 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.5383, allocations: 4 kB / 0.6222 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5383, allocations: 0 / 0.6222 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/0.5384, allocations: 47.97 kB / 0.6223 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.5389, allocations: 385.7 kB / 0.6227 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.539, allocations: 58.55 kB / 0.6227 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.489e-05/0.5391, allocations: 28.86 kB / 0.6227 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002013/0.5411, allocations: 1.217 MB / 0.6239 GB, free: 9.043 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.5412, allocations: 38.5 kB / 0.624 GB, free: 8.996 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.5412, allocations: 0 / 0.624 GB, free: 8.996 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.007408/0.5486, allocations: 0.6572 MB / 0.6246 GB, free: 8.332 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.5487, allocations: 55.41 kB / 0.6247 GB, free: 8.266 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.436e-05/0.5488, allocations: 104.7 kB / 0.6248 GB, free: 8.156 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.5488, allocations: 29.7 kB / 0.6248 GB, free: 8.121 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.5489, allocations: 92.3 kB / 0.6249 GB, free: 8.027 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/0.5489, allocations: 47.3 kB / 0.6249 GB, free: 7.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.549, allocations: 21.72 kB / 0.6249 GB, free: 7.953 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5491, allocations: 318.8 kB / 0.6252 GB, free: 7.633 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.5493, allocations: 79.94 kB / 0.6253 GB, free: 7.555 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.5496, allocations: 111.3 kB / 0.6254 GB, free: 7.438 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00044/0.55, allocations: 201.8 kB / 0.6256 GB, free: 7.234 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.55, allocations: 0 / 0.6256 GB, free: 7.234 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000569/0.5506, allocations: 253.3 kB / 0.6259 GB, free: 6.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5506, allocations: 6.5 kB / 0.6259 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5506, allocations: 0.5625 kB / 0.6259 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.5507, allocations: 4 kB / 0.6259 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/0.5514, allocations: 51.88 kB / 0.6259 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.5514, allocations: 0 / 0.6259 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005875/0.552, allocations: 20.06 kB / 0.6259 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.5521, allocations: 15.97 kB / 0.626 GB, free: 6.887 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.0001423/0.5522, allocations: 121.7 kB / 0.6261 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.5523, allocations: 7.906 kB / 0.6261 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008334/0.5531, allocations: 360.2 kB / 0.6264 GB, free: 6.395 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.5531, allocations: 4 kB / 0.6264 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5531, allocations: 0 / 0.6264 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5531, allocations: 0 / 0.6264 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.5543, allocations: 0.7596 MB / 0.6272 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5543, allocations: 0 / 0.6272 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/0.555, allocations: 43.95 kB / 0.6272 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.555, allocations: 4 kB / 0.6272 GB, free: 5.488 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.555, allocations: 7.234 kB / 0.6272 GB, free: 5.484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.555, allocations: 7.938 kB / 0.6272 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.555, allocations: 3.938 kB / 0.6272 GB, free: 5.473 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005961/0.5556, allocations: 357.7 kB / 0.6276 GB, free: 5.109 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.5558, allocations: 105 kB / 0.6277 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.5558, allocations: 7.984 kB / 0.6277 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005668/0.5564, allocations: 8 kB / 0.6277 GB, free: 4.973 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.149e-05/0.5564, allocations: 19.91 kB / 0.6277 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.5565, allocations: 11.98 kB / 0.6277 GB, free: 4.941 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.177e-05/0.5565, allocations: 83.28 kB / 0.6278 GB, free: 4.859 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5565, allocations: 4 kB / 0.6278 GB, free: 4.855 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005078/0.5571, allocations: 99.92 kB / 0.6279 GB, free: 4.758 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.0004977/0.5576, allocations: 219 kB / 0.6281 GB, free: 4.535 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005232/0.5581, allocations: 207.8 kB / 0.6283 GB, free: 4.332 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5581, allocations: 0 / 0.6283 GB, free: 4.332 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.5584, allocations: 123.9 kB / 0.6284 GB, free: 4.211 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.5588, allocations: 27.91 kB / 0.6284 GB, free: 4.184 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000648/0.5595, allocations: 335.7 kB / 0.6288 GB, free: 3.824 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.5598, allocations: 0.6968 MB / 0.6294 GB, free: 3.102 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.56, allocations: 43.38 kB / 0.6295 GB, free: 3.059 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.56, allocations: 0 / 0.6295 GB, free: 3.059 MB / 462.1 MB Notification: Performance of Templates: time 0.007452/0.5675, allocations: 4.114 MB / 0.6335 GB, free: 14.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