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.001299/0.001299, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2429/0.2429, allocations: 46.12 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003463/0.003463, allocations: 80.48 kB / 417.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1626, allocations: 62.47 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4481/0.6107, allocations: 154.4 MB / 0.6196 GB, free: 8.746 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.6127, allocations: 1.204 MB / 0.6208 GB, free: 7.551 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.6128, allocations: 0 / 0.6208 GB, free: 7.551 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.6131, allocations: 35.81 kB / 0.6208 GB, free: 7.516 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.05e-05/0.6132, allocations: 31.72 kB / 0.6208 GB, free: 7.484 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.615, allocations: 440.8 kB / 0.6213 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.6151, allocations: 75.53 kB / 0.6213 GB, free: 6.984 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.064e-05/0.6152, allocations: 3.984 kB / 0.6213 GB, free: 6.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.6153, allocations: 35.86 kB / 0.6214 GB, free: 6.945 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.6154, allocations: 27.91 kB / 0.6214 GB, free: 6.918 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.6154, allocations: 0 / 0.6214 GB, free: 6.918 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.6168, allocations: 0.4948 MB / 0.6219 GB, free: 6.422 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.6168, allocations: 15.92 kB / 0.6219 GB, free: 6.406 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.6168, allocations: 19.94 kB / 0.6219 GB, free: 6.387 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007711/0.6176, allocations: 319.2 kB / 0.6222 GB, free: 6.074 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.6176, allocations: 0 / 0.6222 GB, free: 6.074 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.6177, allocations: 4 kB / 0.6222 GB, free: 6.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.6177, allocations: 0 / 0.6222 GB, free: 6.07 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.0007279/0.6184, allocations: 415.2 kB / 0.6226 GB, free: 5.617 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6185, allocations: 8.031 kB / 0.6226 GB, free: 5.609 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.6185, allocations: 5.312 kB / 0.6226 GB, free: 5.605 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.6187, allocations: 174.9 kB / 0.6228 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.6187, allocations: 4 kB / 0.6228 GB, free: 5.391 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.6187, allocations: 8 kB / 0.6228 GB, free: 5.383 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.6189, allocations: 69.61 kB / 0.6229 GB, free: 5.309 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.6189, allocations: 0 / 0.6229 GB, free: 5.309 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.6189, allocations: 0 / 0.6229 GB, free: 5.309 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.619, allocations: 4 kB / 0.6229 GB, free: 5.305 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.367e-05/0.6191, allocations: 43.97 kB / 0.6229 GB, free: 5.262 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/0.6196, allocations: 389.8 kB / 0.6233 GB, free: 4.812 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.6198, allocations: 66.48 kB / 0.6234 GB, free: 4.738 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.334e-05/0.6199, allocations: 20.84 kB / 0.6234 GB, free: 4.715 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00245/0.6223, allocations: 1.217 MB / 0.6246 GB, free: 3.258 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.6224, allocations: 30.56 kB / 0.6246 GB, free: 3.219 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 2.405e-06/0.6224, allocations: 0 / 0.6246 GB, free: 3.219 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.008056/0.6305, allocations: 0.6728 MB / 0.6253 GB, free: 2.539 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.6306, allocations: 55.41 kB / 0.6253 GB, free: 2.473 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.6307, allocations: 101.8 kB / 0.6254 GB, free: 2.363 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.6307, allocations: 29.7 kB / 0.6254 GB, free: 2.328 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.6308, allocations: 92.33 kB / 0.6255 GB, free: 2.234 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.494e-05/0.6309, allocations: 43.3 kB / 0.6256 GB, free: 2.191 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.6311, allocations: 49.58 kB / 0.6256 GB, free: 2.137 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6313, allocations: 314.8 kB / 0.6259 GB, free: 1.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.6315, allocations: 84.5 kB / 0.626 GB, free: 1.738 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.6318, allocations: 102.5 kB / 0.6261 GB, free: 1.629 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005826/0.6324, allocations: 202.5 kB / 0.6263 GB, free: 1.422 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.6324, allocations: 0 / 0.6263 GB, free: 1.422 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006685/0.6331, allocations: 252.9 kB / 0.6265 GB, free: 1.172 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.6331, allocations: 4 kB / 0.6265 GB, free: 1.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.6331, allocations: 8 kB / 0.6265 GB, free: 1.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.6332, allocations: 4 kB / 0.6265 GB, free: 1.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007509/0.6339, allocations: 55.88 kB / 0.6266 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.6339, allocations: 4 kB / 0.6266 GB, free: 1.098 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006064/0.6345, allocations: 13.5 kB / 0.6266 GB, free: 1.086 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.6346, allocations: 7.984 kB / 0.6266 GB, free: 1.078 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.000154/0.6348, allocations: 125.8 kB / 0.6267 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/0.6348, allocations: 7.906 kB / 0.6267 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009749/0.6358, allocations: 343.9 kB / 0.6271 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.6358, allocations: 4 kB / 0.6271 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.6359, allocations: 4 kB / 0.6271 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.6359, allocations: 3.984 kB / 0.6271 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.6373, allocations: 0.7518 MB / 0.6278 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6373, allocations: 0 / 0.6278 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007093/0.638, allocations: 47.83 kB / 0.6279 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.638, allocations: 0 / 0.6279 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/0.6381, allocations: 15.98 kB / 0.6279 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.6381, allocations: 0 / 0.6279 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.6381, allocations: 3.984 kB / 0.6279 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007113/0.6388, allocations: 365.4 kB / 0.6282 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.639, allocations: 101 kB / 0.6283 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.639, allocations: 0 / 0.6283 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005869/0.6396, allocations: 12 kB / 0.6283 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.6397, allocations: 23.91 kB / 0.6284 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.6398, allocations: 11.98 kB / 0.6284 GB, free: 15.14 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.693e-05/0.6398, allocations: 79.28 kB / 0.6284 GB, free: 15.06 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6398, allocations: 0 / 0.6284 GB, free: 15.06 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005567/0.6404, allocations: 103.9 kB / 0.6285 GB, free: 14.96 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.0005296/0.6409, allocations: 215.1 kB / 0.6288 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006557/0.6416, allocations: 219.7 kB / 0.629 GB, free: 14.53 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6416, allocations: 0 / 0.629 GB, free: 14.53 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.6419, allocations: 111.9 kB / 0.6291 GB, free: 14.42 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.6424, allocations: 33.27 kB / 0.6291 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006871/0.6431, allocations: 261.1 kB / 0.6293 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.6435, allocations: 0.7049 MB / 0.63 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005474/0.644, allocations: 66.3 kB / 0.6301 GB, free: 13.31 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.6443, allocations: 31.41 kB / 0.6301 GB, free: 13.28 MB / 478.1 MB Notification: Performance of SimCode: time 7.32e-07/0.6443, allocations: 4 kB / 0.6301 GB, free: 13.28 MB / 478.1 MB Notification: Performance of Templates: time 0.01251/0.6568, allocations: 6.227 MB / 0.6362 GB, free: 7.055 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches