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.002049/0.002049, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002321/0.002321, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.272/2.272, allocations: 227.4 MB / 246.9 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3486/0.3486, allocations: 46.12 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003166/0.003165, allocations: 78.06 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2185, allocations: 62.45 MB / 479.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.8186/1.037, allocations: 152.1 MB / 0.6173 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/1.04, allocations: 1.23 MB / 0.6185 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/1.04, allocations: 0 / 0.6185 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/1.04, allocations: 31.86 kB / 0.6185 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.672e-05/1.04, allocations: 27.78 kB / 0.6185 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00247/1.043, allocations: 390.5 kB / 0.6189 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/1.043, allocations: 59.61 kB / 0.6189 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.466e-05/1.043, allocations: 7.938 kB / 0.619 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/1.043, allocations: 35.84 kB / 0.619 GB, free: 9.988 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.413e-05/1.044, allocations: 31.86 kB / 0.619 GB, free: 9.957 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/1.044, allocations: 0 / 0.619 GB, free: 9.957 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/1.046, allocations: 0.5027 MB / 0.6195 GB, free: 9.453 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/1.046, allocations: 7.984 kB / 0.6195 GB, free: 9.445 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/1.046, allocations: 27.88 kB / 0.6195 GB, free: 9.418 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007499/1.047, allocations: 227.5 kB / 0.6198 GB, free: 9.195 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/1.047, allocations: 0 / 0.6198 GB, free: 9.195 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.266e-06/1.047, allocations: 0 / 0.6198 GB, free: 9.195 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/1.047, allocations: 0 / 0.6198 GB, free: 9.195 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.001003/1.048, allocations: 407.4 kB / 0.6201 GB, free: 8.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/1.048, allocations: 8.031 kB / 0.6202 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/1.048, allocations: 9.312 kB / 0.6202 GB, free: 8.734 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/1.048, allocations: 174.9 kB / 0.6203 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/1.048, allocations: 1.562 kB / 0.6203 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/1.048, allocations: 8 kB / 0.6203 GB, free: 8.516 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/1.049, allocations: 69.61 kB / 0.6204 GB, free: 8.441 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/1.049, allocations: 0 / 0.6204 GB, free: 8.441 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/1.049, allocations: 8 kB / 0.6204 GB, free: 8.434 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/1.049, allocations: 3.984 kB / 0.6204 GB, free: 8.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/1.049, allocations: 43.97 kB / 0.6205 GB, free: 8.387 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000764/1.05, allocations: 385.8 kB / 0.6208 GB, free: 7.941 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/1.05, allocations: 62.5 kB / 0.6209 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.595e-05/1.05, allocations: 28.78 kB / 0.6209 GB, free: 7.84 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002772/1.053, allocations: 1.217 MB / 0.6221 GB, free: 6.383 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.068e-05/1.053, allocations: 38.56 kB / 0.6221 GB, free: 6.336 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 4.829e-06/1.053, allocations: 0 / 0.6221 GB, free: 6.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.01056/1.063, allocations: 0.6577 MB / 0.6228 GB, free: 5.672 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.588e-05/1.064, allocations: 55.41 kB / 0.6228 GB, free: 5.605 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/1.064, allocations: 105.9 kB / 0.6229 GB, free: 5.492 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/1.064, allocations: 37.64 kB / 0.623 GB, free: 5.449 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/1.064, allocations: 84.33 kB / 0.6231 GB, free: 5.363 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/1.064, allocations: 51.28 kB / 0.6231 GB, free: 5.312 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/1.064, allocations: 49.58 kB / 0.6231 GB, free: 5.258 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/1.065, allocations: 318.8 kB / 0.6235 GB, free: 4.938 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/1.065, allocations: 79.89 kB / 0.6235 GB, free: 4.863 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/1.065, allocations: 114.5 kB / 0.6236 GB, free: 4.742 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007253/1.066, allocations: 194.2 kB / 0.6238 GB, free: 4.547 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.066, allocations: 0 / 0.6238 GB, free: 4.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009286/1.067, allocations: 249.5 kB / 0.6241 GB, free: 4.297 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/1.067, allocations: 8 kB / 0.6241 GB, free: 4.289 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.067, allocations: 0 / 0.6241 GB, free: 4.289 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/1.067, allocations: 4 kB / 0.6241 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/1.068, allocations: 55.88 kB / 0.6241 GB, free: 4.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/1.068, allocations: 0 / 0.6241 GB, free: 4.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008182/1.069, allocations: 12 kB / 0.6241 GB, free: 4.219 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/1.069, allocations: 19.97 kB / 0.6242 GB, free: 4.199 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.0002048/1.069, allocations: 117.8 kB / 0.6243 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.46e-05/1.069, allocations: 11.91 kB / 0.6243 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/1.071, allocations: 350.1 kB / 0.6246 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.071, allocations: 0 / 0.6246 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.071, allocations: 0 / 0.6246 GB, free: 3.715 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/1.071, allocations: 7.984 kB / 0.6246 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/1.073, allocations: 0.744 MB / 0.6253 GB, free: 2.867 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.073, allocations: 0 / 0.6253 GB, free: 2.867 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009358/1.074, allocations: 47.95 kB / 0.6254 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/1.074, allocations: 4 kB / 0.6254 GB, free: 2.816 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/1.074, allocations: 7.984 kB / 0.6254 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/1.074, allocations: 1.641 kB / 0.6254 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.074, allocations: 0 / 0.6254 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/1.075, allocations: 361.6 kB / 0.6257 GB, free: 2.441 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/1.075, allocations: 101 kB / 0.6258 GB, free: 2.324 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/1.075, allocations: 8 kB / 0.6259 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008201/1.076, allocations: 8 kB / 0.6259 GB, free: 2.309 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/1.076, allocations: 24.78 kB / 0.6259 GB, free: 2.285 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.869e-05/1.076, allocations: 11.98 kB / 0.6259 GB, free: 2.273 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.165e-05/1.076, allocations: 83.28 kB / 0.626 GB, free: 2.191 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.8e-07/1.076, allocations: 0 / 0.626 GB, free: 2.191 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009272/1.077, allocations: 103.9 kB / 0.6261 GB, free: 2.09 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.001116/1.078, allocations: 220.5 kB / 0.6263 GB, free: 1.867 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009507/1.079, allocations: 207.8 kB / 0.6265 GB, free: 1.664 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/1.079, allocations: 7.938 kB / 0.6265 GB, free: 1.656 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/1.08, allocations: 120 kB / 0.6266 GB, free: 1.539 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008255/1.081, allocations: 31.91 kB / 0.6266 GB, free: 1.508 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/1.082, allocations: 320.5 kB / 0.6269 GB, free: 1.168 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/1.082, allocations: 0.6929 MB / 0.6276 GB, free: 460 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/1.083, allocations: 39.39 kB / 0.6277 GB, free: 420 kB / 462.1 MB Notification: Performance of SimCode: time 1.122e-06/1.083, allocations: 0 / 0.6277 GB, free: 420 kB / 462.1 MB Notification: Performance of Templates: time 0.01455/1.097, allocations: 4.12 MB / 0.6317 GB, free: 12.28 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