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.0012/0.0012, allocations: 110.9 kB / 18.41 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 200.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2669/0.2669, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 79.86 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1093, allocations: 62.44 MB / 481.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3697/0.479, allocations: 154.4 MB / 0.6209 GB, free: 8.344 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.4805, allocations: 1.197 MB / 0.6221 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.073e-05/0.4806, allocations: 0 / 0.6221 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.4808, allocations: 49.72 kB / 0.6221 GB, free: 7.105 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.675e-05/0.4809, allocations: 27.72 kB / 0.6222 GB, free: 7.078 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.4821, allocations: 437.3 kB / 0.6226 GB, free: 6.656 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.4822, allocations: 67.61 kB / 0.6226 GB, free: 6.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.4823, allocations: 13.77 kB / 0.6227 GB, free: 6.578 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.602e-05/0.4824, allocations: 35.84 kB / 0.6227 GB, free: 6.543 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.4824, allocations: 23.92 kB / 0.6227 GB, free: 6.52 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.4824, allocations: 4 kB / 0.6227 GB, free: 6.516 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.4835, allocations: 0.4987 MB / 0.6232 GB, free: 6.016 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.4835, allocations: 7.922 kB / 0.6232 GB, free: 6.008 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.741e-05/0.4836, allocations: 31.86 kB / 0.6232 GB, free: 5.977 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.4841, allocations: 319.1 kB / 0.6235 GB, free: 5.668 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4841, allocations: 4 kB / 0.6235 GB, free: 5.664 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4841, allocations: 0 / 0.6235 GB, free: 5.664 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.4841, allocations: 0 / 0.6235 GB, free: 5.664 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.0006831/0.4848, allocations: 407.3 kB / 0.6239 GB, free: 5.219 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4849, allocations: 8.031 kB / 0.6239 GB, free: 5.211 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.4849, allocations: 5.312 kB / 0.6239 GB, free: 5.207 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.4851, allocations: 170.9 kB / 0.6241 GB, free: 5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.4851, allocations: 0 / 0.6241 GB, free: 5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.4851, allocations: 8 kB / 0.6241 GB, free: 4.992 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.4853, allocations: 77.59 kB / 0.6242 GB, free: 4.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.4853, allocations: 4 kB / 0.6242 GB, free: 4.906 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.4853, allocations: 0 / 0.6242 GB, free: 4.906 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4853, allocations: 0 / 0.6242 GB, free: 4.906 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.4854, allocations: 53.97 kB / 0.6242 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.4859, allocations: 377.8 kB / 0.6246 GB, free: 4.422 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.4861, allocations: 66.48 kB / 0.6247 GB, free: 4.348 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.4861, allocations: 24.86 kB / 0.6247 GB, free: 4.32 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001656/0.4878, allocations: 1.221 MB / 0.6259 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.4878, allocations: 42.5 kB / 0.6259 GB, free: 2.809 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.4878, allocations: 0 / 0.6259 GB, free: 2.809 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.006488/0.4943, allocations: 0.6538 MB / 0.6266 GB, free: 2.148 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.4944, allocations: 55.41 kB / 0.6266 GB, free: 2.082 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/0.4944, allocations: 101.9 kB / 0.6267 GB, free: 1.973 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.4945, allocations: 37.64 kB / 0.6268 GB, free: 1.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.4945, allocations: 84.33 kB / 0.6268 GB, free: 1.844 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.4946, allocations: 51.3 kB / 0.6269 GB, free: 1.793 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-05/0.4947, allocations: 49.58 kB / 0.6269 GB, free: 1.738 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.4948, allocations: 314.8 kB / 0.6272 GB, free: 1.422 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.495, allocations: 83.94 kB / 0.6273 GB, free: 1.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.4952, allocations: 103.4 kB / 0.6274 GB, free: 1.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.4956, allocations: 202.5 kB / 0.6276 GB, free: 1.023 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4956, allocations: 4 kB / 0.6276 GB, free: 1.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005127/0.4961, allocations: 241.5 kB / 0.6278 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4962, allocations: 4 kB / 0.6278 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4962, allocations: 4 kB / 0.6278 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4962, allocations: 3.984 kB / 0.6278 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.4968, allocations: 55.89 kB / 0.6279 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.4968, allocations: 4.062 kB / 0.6279 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.4973, allocations: 15.98 kB / 0.6279 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.4974, allocations: 16.92 kB / 0.6279 GB, free: 0.6758 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.0001111/0.4975, allocations: 117.8 kB / 0.628 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.4976, allocations: 7.906 kB / 0.6281 GB, free: 0.543 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007393/0.4983, allocations: 356.3 kB / 0.6284 GB, free: 196 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4983, allocations: 0 / 0.6284 GB, free: 196 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4983, allocations: 0.75 kB / 0.6284 GB, free: 196 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4983, allocations: 4 kB / 0.6284 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.4994, allocations: 0.7557 MB / 0.6291 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4994, allocations: 0 / 0.6291 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.5, allocations: 47.97 kB / 0.6292 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5, allocations: 0 / 0.6292 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.5, allocations: 9.172 kB / 0.6292 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5, allocations: 0 / 0.6292 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5001, allocations: 0 / 0.6292 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/0.5006, allocations: 359.2 kB / 0.6295 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.5007, allocations: 101 kB / 0.6296 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.5008, allocations: 12 kB / 0.6296 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000503/0.5013, allocations: 7.984 kB / 0.6296 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.5013, allocations: 19.92 kB / 0.6297 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.5014, allocations: 12.86 kB / 0.6297 GB, free: 14.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.592e-05/0.5014, allocations: 79.28 kB / 0.6298 GB, free: 14.67 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5014, allocations: 0 / 0.6298 GB, free: 14.67 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004283/0.5019, allocations: 99.92 kB / 0.6299 GB, free: 14.57 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.000385/0.5023, allocations: 215 kB / 0.6301 GB, free: 14.35 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004691/0.5027, allocations: 202.1 kB / 0.6302 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5027, allocations: 4.125 kB / 0.6303 GB, free: 14.15 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.503, allocations: 127.8 kB / 0.6304 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.5034, allocations: 34.25 kB / 0.6304 GB, free: 14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005256/0.5039, allocations: 265.1 kB / 0.6307 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.5041, allocations: 0.7004 MB / 0.6313 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003078/0.5045, allocations: 68.72 kB / 0.6314 GB, free: 12.92 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.5047, allocations: 27.41 kB / 0.6314 GB, free: 12.89 MB / 478.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5047, allocations: 0 / 0.6314 GB, free: 12.89 MB / 478.1 MB Notification: Performance of Templates: time 0.00936/0.514, allocations: 6.221 MB / 0.6375 GB, free: 6.676 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 -s cvode -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