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.001427/0.001426, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001544/0.001544, allocations: 212 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2304/0.2304, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 73.5 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1091, allocations: 62.44 MB / 480.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3921/0.5013, allocations: 154.4 MB / 0.6202 GB, free: 8.902 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.5028, allocations: 1.203 MB / 0.6213 GB, free: 7.707 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.148e-05/0.5029, allocations: 4 kB / 0.6213 GB, free: 7.703 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.5031, allocations: 39.8 kB / 0.6214 GB, free: 7.664 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.684e-05/0.5031, allocations: 27.77 kB / 0.6214 GB, free: 7.637 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.5043, allocations: 440.7 kB / 0.6218 GB, free: 7.211 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.017e-05/0.5044, allocations: 67.55 kB / 0.6219 GB, free: 7.145 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.5045, allocations: 7.984 kB / 0.6219 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.466e-05/0.5046, allocations: 31.86 kB / 0.6219 GB, free: 7.105 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.5046, allocations: 31.91 kB / 0.622 GB, free: 7.074 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.5046, allocations: 4 kB / 0.622 GB, free: 7.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.5057, allocations: 0.4948 MB / 0.6225 GB, free: 6.574 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.5057, allocations: 11.92 kB / 0.6225 GB, free: 6.562 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.5057, allocations: 23.92 kB / 0.6225 GB, free: 6.539 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.5063, allocations: 315.3 kB / 0.6228 GB, free: 6.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5063, allocations: 0 / 0.6228 GB, free: 6.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5063, allocations: 0 / 0.6228 GB, free: 6.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.5063, allocations: 0 / 0.6228 GB, free: 6.23 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.0005286/0.5068, allocations: 415.3 kB / 0.6232 GB, free: 5.777 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.5069, allocations: 12.03 kB / 0.6232 GB, free: 5.766 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.5069, allocations: 5.312 kB / 0.6232 GB, free: 5.762 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.507, allocations: 170.9 kB / 0.6234 GB, free: 5.555 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.507, allocations: 4 kB / 0.6234 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.5071, allocations: 8 kB / 0.6234 GB, free: 5.543 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.5072, allocations: 69.61 kB / 0.6234 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5072, allocations: 0 / 0.6234 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.5072, allocations: 0 / 0.6234 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.5073, allocations: 0 / 0.6234 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.094e-05/0.5074, allocations: 55.95 kB / 0.6235 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.5078, allocations: 381.8 kB / 0.6239 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.5079, allocations: 70.44 kB / 0.6239 GB, free: 4.895 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.508, allocations: 20.84 kB / 0.6239 GB, free: 4.871 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001823/0.5098, allocations: 1.221 MB / 0.6251 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.5098, allocations: 34.56 kB / 0.6252 GB, free: 3.367 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.5098, allocations: 4 kB / 0.6252 GB, free: 3.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.00713/0.517, allocations: 0.6611 MB / 0.6258 GB, free: 2.695 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.517, allocations: 51.41 kB / 0.6259 GB, free: 2.633 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.513e-05/0.5172, allocations: 105.8 kB / 0.626 GB, free: 2.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.5172, allocations: 29.7 kB / 0.626 GB, free: 2.484 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.5172, allocations: 92.27 kB / 0.6261 GB, free: 2.391 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.5173, allocations: 43.3 kB / 0.6261 GB, free: 2.348 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.5174, allocations: 49.58 kB / 0.6262 GB, free: 2.293 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5176, allocations: 318.8 kB / 0.6265 GB, free: 1.973 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.5178, allocations: 87.94 kB / 0.6266 GB, free: 1.887 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.518, allocations: 98.52 kB / 0.6267 GB, free: 1.781 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.5185, allocations: 198.5 kB / 0.6268 GB, free: 1.578 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5185, allocations: 0 / 0.6268 GB, free: 1.578 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005612/0.519, allocations: 252.6 kB / 0.6271 GB, free: 1.328 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.5191, allocations: 8 kB / 0.6271 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5191, allocations: 0 / 0.6271 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5191, allocations: 0 / 0.6271 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007219/0.5198, allocations: 55.94 kB / 0.6271 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.5198, allocations: 7.938 kB / 0.6272 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/0.5204, allocations: 11.94 kB / 0.6272 GB, free: 1.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.5205, allocations: 19.97 kB / 0.6272 GB, free: 1.23 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.0001251/0.5206, allocations: 121.8 kB / 0.6273 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.5207, allocations: 8.469 kB / 0.6273 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008201/0.5215, allocations: 348.2 kB / 0.6276 GB, free: 0.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.5215, allocations: 7.984 kB / 0.6276 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5215, allocations: 0 / 0.6276 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5215, allocations: 0 / 0.6276 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.5227, allocations: 0.744 MB / 0.6284 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.5227, allocations: 8 kB / 0.6284 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/0.5234, allocations: 47.94 kB / 0.6284 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.5234, allocations: 0 / 0.6284 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/0.5234, allocations: 11.98 kB / 0.6284 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5235, allocations: 0 / 0.6284 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5235, allocations: 0.8594 kB / 0.6284 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.5241, allocations: 357.6 kB / 0.6288 GB, free: 15.47 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.5242, allocations: 109 kB / 0.6289 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.5243, allocations: 0 / 0.6289 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/0.5248, allocations: 15.98 kB / 0.6289 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.5249, allocations: 11.92 kB / 0.6289 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.5249, allocations: 19.92 kB / 0.6289 GB, free: 15.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.092e-05/0.525, allocations: 83.22 kB / 0.629 GB, free: 15.22 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.525, allocations: 0 / 0.629 GB, free: 15.22 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004638/0.5255, allocations: 103.9 kB / 0.6291 GB, free: 15.12 MB / 478.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.0004741/0.526, allocations: 215.1 kB / 0.6293 GB, free: 14.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005494/0.5265, allocations: 215.7 kB / 0.6295 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5265, allocations: 4.125 kB / 0.6295 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.5268, allocations: 119.9 kB / 0.6296 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.5272, allocations: 35.25 kB / 0.6297 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/0.5279, allocations: 286.8 kB / 0.6299 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.5282, allocations: 0.6965 MB / 0.6306 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.5284, allocations: 39.38 kB / 0.6307 GB, free: 13.47 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5284, allocations: 0 / 0.6307 GB, free: 13.47 MB / 478.1 MB Notification: Performance of Templates: time 0.00721/0.5356, allocations: 4.124 MB / 0.6347 GB, free: 9.332 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